Skip to content

Commit 5475152

Browse files
add arm64 to valid macOS architectures to support Apple Silicon
1 parent 12f4521 commit 5475152

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Configuration/Apollo/Apollo-Target-ApolloCodegen.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ SDKROOT = macosx
44
SUPPORTED_PLATFORMS = macosx
55

66
ENABLE_BITCODE = NO
7-
VALID_ARCHS = x86_64
7+
VALID_ARCHS = x86_64 arm64

Configuration/Apollo/Apollo-Target-ApolloCodegenLib.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
INFOPLIST_FILE = Sources/ApolloCodegenLib/Info.plist
44
SUPPORTED_PLATFORMS = macosx
55
SDKROOT = macosx
6-
VALID_ARCHS = x86_64
6+
VALID_ARCHS = x86_64 arm64

Configuration/Shared/Workspace-Universal-Framework.xcconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ SUPPORTED_PLATFORMS = iphoneos iphonesimulator appletvsimulator appletvos watchs
66
// iOS-specific default settings
77
SDKROOT[sdk=iphone*] = iphoneos
88
VALID_ARCHS[sdk=iphoneos*] = arm64 armv7 armv7s
9-
VALID_ARCHS[sdk=iphonesimulator*] = x86_64 i386
9+
VALID_ARCHS[sdk=iphonesimulator*] = x86_64 arm64
1010
TARGETED_DEVICE_FAMILY[sdk=iphone*] = 1,2
1111

1212
// TV-specific default settings
@@ -19,7 +19,7 @@ TARGETED_DEVICE_FAMILY[sdk=watch*] = 4
1919

2020
// macOS-specific default settings
2121
SDKROOT[sdk=macosx*] = macosx
22-
VALID_ARCHS[sdk=macosx*] = x86_64
22+
VALID_ARCHS[sdk=macosx*] = x86_64 arm64
2323
SUPPORTS_MACCATALYST = YES
2424

2525
// Enable Bitcode only for actual devices, not for macOS or simulators

0 commit comments

Comments
 (0)