Set minimum deployment target to iOS 12
The default minimum iOS target used to be iOS 11, and while PojavLauncher would *run*, the experience would be terrible at beast. Microsoft authentication would crash the app, as the iOS 11 methods were deprecated and replace in iOS 12, and OpenJDK would be missing features as 1) Procursus isn't supported on iOS 11 and 2) the JDK targets iOS 12 and higher. This commit forces the scripts to build for iOS 12 at the minimum so iOS 11 doesn't give off errors during compile time and when installing.
This commit is contained in:
1 file changed
+3
-1
@@ -2,12 +2,14 @@
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf Natives/build
|
||||
|
||||
# Compile natives
|
||||
cd Natives
|
||||
mkdir -p build
|
||||
cd build
|
||||
wget https://github.com/leetal/ios-cmake/raw/master/ios.toolchain.cmake
|
||||
cmake .. -G Xcode -DCMAKE_TOOLCHAIN_FILE=ios.toolchain.cmake -DPLATFORM=OS64 -DENABLE_BITCODE=FALSE -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED="NO" -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY=""
|
||||
cmake .. -G Xcode -DCMAKE_TOOLCHAIN_FILE=ios.toolchain.cmake -DDEPLOYMENT_TARGET="12.0" -DENABLE_ARC=TRUE -DENABLE_VISIBILITY=FALSE -DPLATFORM=OS64 -DENABLE_BITCODE=FALSE -DENABLE_STRICT_TRY_COMPILE=FALSE -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED="NO" -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY=""
|
||||
cmake --build . --config Release --target pojavexec PojavLauncher
|
||||
cd ../..
|
||||
|
||||
|
||||
Reference in new issue
Block a user