Skip to content

Commit

Permalink
Revert EXCLUDED_ARCHS[sdk=iphonesimulator*] back to i386
Browse files Browse the repository at this point in the history
Rosetta 2 was/is for Intel x86 apps to run on arm64 (M1).

Excluding arm64 was needed opening older Xcode w Rosetta 2 to build x86_64.

We no longer need Xcode w Rosetta 2 since Xcode and React Native upgrades.

So can now again exclude i386 again to build arm64.

Clearing Xcode/DerivedData needed when switching.

Ref: react-native-community/react-native-template-typescript#223

Ref: react-native-community/react-native-template-typescript#224
  • Loading branch information
leotm committed Mar 28, 2022
1 parent a01ccd1 commit 266670e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/MyApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down Expand Up @@ -649,7 +649,7 @@
COPY_PHASE_STRIP = YES;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
Expand Down

0 comments on commit 266670e

Please sign in to comment.