Skip to content

Commit

Permalink
add arm64 to valid macOS architectures to support Apple Silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
designatednerd committed Jul 8, 2020
1 parent 447fd77 commit 199e963
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Configuration/Apollo/Apollo-Target-ApolloCodegen.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ SDKROOT = macosx
SUPPORTED_PLATFORMS = macosx

ENABLE_BITCODE = NO
VALID_ARCHS = x86_64
VALID_ARCHS = x86_64 arm64
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
INFOPLIST_FILE = Sources/ApolloCodegenLib/Info.plist
SUPPORTED_PLATFORMS = macosx
SDKROOT = macosx
VALID_ARCHS = x86_64
VALID_ARCHS = x86_64 arm64
4 changes: 2 additions & 2 deletions Configuration/Shared/Workspace-Universal-Framework.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SUPPORTED_PLATFORMS = iphoneos iphonesimulator appletvsimulator appletvos watchs
// iOS-specific default settings
SDKROOT[sdk=iphone*] = iphoneos
VALID_ARCHS[sdk=iphoneos*] = arm64 armv7 armv7s
VALID_ARCHS[sdk=iphonesimulator*] = x86_64 i386
VALID_ARCHS[sdk=iphonesimulator*] = x86_64 arm64
TARGETED_DEVICE_FAMILY[sdk=iphone*] = 1,2

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

// macOS-specific default settings
SDKROOT[sdk=macosx*] = macosx
VALID_ARCHS[sdk=macosx*] = x86_64
VALID_ARCHS[sdk=macosx*] = x86_64 arm64
SUPPORTS_MACCATALYST = YES

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

0 comments on commit 199e963

Please sign in to comment.