diff --git a/Subsurface-mobile.pro b/Subsurface-mobile.pro index a4a58ed798..287f9eff66 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 a8d45cd772..7b3374d995 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"