iOS: update minimum iOS version to 12.0

None of the tools we use work with older versions, anyway.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2022-08-29 16:09:46 -07:00
parent 7801b0c28a
commit 0af410d6ce
2 changed files with 2 additions and 2 deletions

View file

@ -398,7 +398,7 @@ android {
ios { ios {
SOURCES += core/ios.cpp SOURCES += core/ios.cpp
RESOURCES += packaging/ios/translations.qrc RESOURCES += packaging/ios/translations.qrc
QMAKE_IOS_DEPLOYMENT_TARGET = 10.0 QMAKE_IOS_DEPLOYMENT_TARGET = 12.0
QMAKE_TARGET_BUNDLE_PREFIX = org.subsurface-divelog QMAKE_TARGET_BUNDLE_PREFIX = org.subsurface-divelog
QMAKE_BUNDLE = subsurface-mobile QMAKE_BUNDLE = subsurface-mobile
QMAKE_INFO_PLIST = packaging/ios/Info.plist QMAKE_INFO_PLIST = packaging/ios/Info.plist

View file

@ -124,7 +124,7 @@ for ARCH in $ARCHS; do
declare -x CC=$(xcrun -sdk $SDK_NAME -find clang) declare -x CC=$(xcrun -sdk $SDK_NAME -find clang)
declare -x CXX=$(xcrun -sdk $SDK_NAME -find clang++) declare -x CXX=$(xcrun -sdk $SDK_NAME -find clang++)
declare -x LD=$(xcrun -sdk $SDK_NAME -find ld) declare -x LD=$(xcrun -sdk $SDK_NAME -find ld)
declare -x CFLAGS="-arch $ARCH_NAME -isysroot $SDK_DIR -miphoneos-version-min=10.0 -I$SDK_DIR/usr/include -fembed-bitcode" declare -x CFLAGS="-arch $ARCH_NAME -isysroot $SDK_DIR -miphoneos-version-min=12.0 -I$SDK_DIR/usr/include -fembed-bitcode"
declare -x CXXFLAGS="$CFLAGS" declare -x CXXFLAGS="$CFLAGS"
declare -x LDFLAGS="$CFLAGS -lsqlite3 -lpthread -lc++ -L$SDK_DIR/usr/lib -fembed-bitcode" declare -x LDFLAGS="$CFLAGS -lsqlite3 -lpthread -lc++ -L$SDK_DIR/usr/lib -fembed-bitcode"