From 7bdd968e05a3ec11ab9f207e7bd32ff7bffc34a8 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 16 Dec 2020 16:47:11 -0800 Subject: [PATCH] build-system/iOS: fix minimum iOS version supported Qt requires iOS 10, let's not pretend that we can support ancient iOS 6. Signed-off-by: Dirk Hohndel --- packaging/ios/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh index b4706770b..51cb66d9a 100755 --- a/packaging/ios/build.sh +++ b/packaging/ios/build.sh @@ -118,7 +118,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=6.0 -I$SDK_DIR/usr/include -fembed-bitcode" + declare -x CFLAGS="-arch $ARCH_NAME -isysroot $SDK_DIR -miphoneos-version-min=10.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"