Skip to content

Commit c3bb40f

Browse files
Remove all instances of bitcode as not supported in Xcode 14
https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes
1 parent 08a41ba commit c3bb40f

5 files changed

Lines changed: 0 additions & 17 deletions

Configuration/Apollo/Apollo-Project-Performance-Testing.xcconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
ONLY_ACTIVE_ARCH = YES
44

55
COPY_PHASE_STRIP = NO
6-
ENABLE_BITCODE = NO
76
ENABLE_TESTABILITY = YES

Configuration/Apollo/Apollo-Target-TestHost-iOS.xcconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ SDKROOT = iphoneos
44
SUPPORTED_PLATFORMS = iphonesimulator iphoneos
55

66
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
7-
ENABLE_BITCODE = NO
87

98
INFOPLIST_FILE = Tests/TestHost iOS/Info.plist
109
PRODUCT_BUNDLE_IDENTIFIER = com.apollographql.$(PRODUCT_NAME:rfc1034identifier)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
SDKROOT = macosx
22
SUPPORTED_PLATFORMS = macosx
33

4-
ENABLE_BITCODE = NO

Configuration/Shared/Workspace-Target-Test.xcconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Packaging
22
WRAPPER_EXTENSION = xctest
33

4-
// Code Generation
5-
ENABLE_BITCODE = NO
6-
74
// Disable some known troublesome warnings for the test target, as -Weverything without these exceptions causes errors when importing XCTest
85
WARNING_CFLAGS = $(inherited) -Wno-documentation-unknown-command -Wno-incomplete-module -Wno-disabled-macro-expansion -Wno-shadow
96

Configuration/Shared/Workspace-Universal-Framework.xcconfig

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,3 @@ TARGETED_DEVICE_FAMILY[sdk=watch*] = 4
1919
SDKROOT[sdk=macosx*] = macosx
2020
SUPPORTS_MACCATALYST = YES
2121

22-
// Enable Bitcode only for actual devices, not for macOS or simulators
23-
ENABLE_BITCODE[sdk=watchos*][config=Release] = YES
24-
ENABLE_BITCODE[sdk=iphoneos*][config=Release] = YES
25-
ENABLE_BITCODE[sdk=appletvos*][config=Release] = YES
26-
27-
// By default, BITCODE_GENERATION_MODE is "marker".
28-
// Based on Realm's fix for Bitcode, this needs to be "bitcode"
29-
// Source: https://github.com/realm/realm-cocoa/pull/2567
30-
BITCODE_GENERATION_MODE[sdk=watchos*][config=Release] = bitcode
31-
BITCODE_GENERATION_MODE[sdk=iphoneos*][config=Release] = bitcode
32-
BITCODE_GENERATION_MODE[sdk=appletvos*][config=Release] = bitcode

0 commit comments

Comments
 (0)