Skip to content

Commit

Permalink
iOS: update minimum iOS version to 12.0
Browse files Browse the repository at this point in the history
None of the tools we use work with older versions, anyway.

Signed-off-by: Dirk Hohndel <[email protected]>
  • Loading branch information
dirkhh committed Aug 30, 2022
1 parent 7801b0c commit 0af410d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Subsurface-mobile.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packaging/ios/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 0af410d

Please sign in to comment.