Get simulator building on M1 MacOS Ventura 13.2 without Rosetta (#1289)
This commit is contained in:
@@ -121,7 +121,7 @@ Zeus is proud to be integrated on the following platforms:
|
||||
[react-native's Getting Started page](https://reactnative.dev/docs/environment-setup)
|
||||
2. install node dependencies with `yarn`
|
||||
3. `cd ios && pod install`
|
||||
4. open `ios/zeus.xcworkspace` in Xcode and hit Run. NOTE: if you're using an M1 mac, you may need to right click Xcode > get info > check `Open using Rosetta` before opening `zeus.xcworkspace`.
|
||||
4. open `ios/zeus.xcworkspace` in Xcode and hit Run.
|
||||
|
||||
## Reproducible builds
|
||||
|
||||
|
||||
@@ -32,5 +32,12 @@ target 'zeus' do
|
||||
post_install do |installer|
|
||||
react_native_post_install(installer)
|
||||
__apply_Xcode_12_5_M1_post_install_workaround(installer)
|
||||
|
||||
installer.pods_project.targets.each do |target|
|
||||
target.build_configurations.each do |config|
|
||||
# Disable arm64 builds for the simulator
|
||||
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
+1
-1
@@ -613,6 +613,6 @@ SPEC CHECKSUMS:
|
||||
TcpSockets: 6e65629a3742333f3a9165ebde4b2394407a543a
|
||||
Yoga: 99caf8d5ab45e9d637ee6e0174ec16fbbb01bcfc
|
||||
|
||||
PODFILE CHECKSUM: 5644411d5f4fd931f08669526d5c8e8c87ab6ea0
|
||||
PODFILE CHECKSUM: 8fd366bb49fae24964dcf0feb11a5cb0d9db2ef4
|
||||
|
||||
COCOAPODS: 1.11.3
|
||||
|
||||
@@ -1506,6 +1506,7 @@
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
BUNDLE_LOADER = "$(TEST_HOST)";
|
||||
DEVELOPMENT_TEAM = 7222UU8F2H;
|
||||
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
@@ -1540,6 +1541,7 @@
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
BUNDLE_LOADER = "$(TEST_HOST)";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(SRCROOT)/../node_modules/react-native-permissions/ios/**",
|
||||
@@ -1576,6 +1578,7 @@
|
||||
CURRENT_PROJECT_VERSION = 7;
|
||||
DEVELOPMENT_TEAM = 7222UU8F2H;
|
||||
ENABLE_BITCODE = NO;
|
||||
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(SRCROOT)/../node_modules/react-native-camera/ios/**",
|
||||
@@ -1621,6 +1624,7 @@
|
||||
CURRENT_PROJECT_VERSION = 7;
|
||||
DEVELOPMENT_TEAM = 7222UU8F2H;
|
||||
ENABLE_BITCODE = NO;
|
||||
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"$(SRCROOT)/../node_modules/react-native-permissions/ios/**",
|
||||
|
||||
Reference in New Issue
Block a user