From 0af410d6ced2eb19f35af1d82f08b284cf96a4ca Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 29 Aug 2022 16:09:46 -0700 Subject: [PATCH] iOS: update minimum iOS version to 12.0 None of the tools we use work with older versions, anyway. Signed-off-by: Dirk Hohndel --- Subsurface-mobile.pro | 2 +- packaging/ios/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Subsurface-mobile.pro b/Subsurface-mobile.pro index a4a58ed79..287f9eff6 100644 --- a/Subsurface-mobile.pro +++ b/Subsurface-mobile.pro @@ -398,7 +398,7 @@ android { ios { SOURCES += core/ios.cpp 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_BUNDLE = subsurface-mobile QMAKE_INFO_PLIST = packaging/ios/Info.plist diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh index a8d45cd77..7b3374d99 100755 --- a/packaging/ios/build.sh +++ b/packaging/ios/build.sh @@ -124,7 +124,7 @@ for ARCH in $ARCHS; do declare -x CC=$(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 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 LDFLAGS="$CFLAGS -lsqlite3 -lpthread -lc++ -L$SDK_DIR/usr/lib -fembed-bitcode"