diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-07-05 16:06:22 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-07-07 17:02:37 +0200 |
commit | e27a0d5a0f8818653ff125409db8187454409749 (patch) | |
tree | 5e4848a7b4cae8b1f0877edaabcc7e1ec189d511 | |
parent | c9d1d4c33c4d2f0f4fd13b225f6d7d39e7093401 (diff) |
Disable bitcode for iOS
It's deprecated as of Xcode 14, and generates a warning message if a
project explicitly enables bitcode. The App Store no longer accepts
bitcode submissions from Xcode 14.
Pick-to: 6.2 6.3 6.4 5.15
Change-Id: Ib1f9d5114ca4d8b1845ecc7a9de0473ee015db33
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r-- | cmake/QtInternalTargets.cmake | 4 | ||||
-rw-r--r-- | mkspecs/common/uikit.conf | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/cmake/QtInternalTargets.cmake b/cmake/QtInternalTargets.cmake index 377099ed62..6cb2378044 100644 --- a/cmake/QtInternalTargets.cmake +++ b/cmake/QtInternalTargets.cmake @@ -213,10 +213,6 @@ if(MSVC) ) endif() -if(UIKIT) - qt_internal_apply_bitcode_flags(PlatformCommonInternal) -endif() - if(WASM AND QT_FEATURE_sse2) target_compile_definitions(PlatformCommonInternal INTERFACE QT_COMPILER_SUPPORTS_SSE2) endif() diff --git a/mkspecs/common/uikit.conf b/mkspecs/common/uikit.conf index 0388b8e616..8419506f09 100644 --- a/mkspecs/common/uikit.conf +++ b/mkspecs/common/uikit.conf @@ -3,7 +3,7 @@ # QMAKE_PLATFORM += uikit -CONFIG += bitcode reduce_exports shallow_bundle no_qt_rpath +CONFIG += reduce_exports shallow_bundle no_qt_rpath INCLUDEPATH += $$PWD/uikit |