File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 22
33PLATFORMPATH=" /Applications/Xcode.app/Contents/Developer/Platforms"
44
5- export IPHONEOS_DEPLOYMENT_TARGET=" 8 .0"
5+ export IPHONEOS_DEPLOYMENT_TARGET=" 12 .0"
66
77build_lib ()
88{
@@ -11,11 +11,6 @@ build_lib()
1111 prefix=$3
1212
1313 host=$target
14- if [[ $host == " x86_64" ]]; then
15- host=" i386"
16- elif [[ $host == " arm64" ]]; then
17- host=" arm"
18- fi
1914
2015 export CC=" $( xcrun -sdk iphoneos -find clang) "
2116 export CXX=" $( xcrun -sdk iphoneos -find clang++) "
@@ -33,12 +28,9 @@ build_lib()
3328 popd
3429}
3530
36- build_lib armv7 iPhoneOS " $PWD /native/armv7"
37- build_lib armv7s iPhoneOS " $PWD /native/armv7s"
3831build_lib arm64 iPhoneOS " $PWD /native/arm64"
39- build_lib i386 iPhoneSimulator " $PWD /native/i386"
4032build_lib x86_64 iPhoneSimulator " $PWD /native/x86_64"
4133
4234LIPO=$( xcrun -sdk iphoneos -find lipo)
4335
44- $LIPO -create $PWD /native/armv7/lib/libzen.a $PWD /native/armv7s/lib/libzen.a $PWD /native/ arm64/lib/libzen.a $PWD /native/x86_64/lib/libzen.a $PWD /native/i386 /lib/libzen.a -output $PWD /libzen.a
36+ $LIPO -create $PWD /native/arm64/lib/libzen.a $PWD /native/x86_64/lib/libzen.a -output $PWD /libzen.a
You can’t perform that action at this time.
0 commit comments