Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
adapted the iOS build for simulators on M1
Browse files Browse the repository at this point in the history
  • Loading branch information
norbertschuler committed Mar 8, 2022
1 parent ff4e319 commit 3d14488
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 58 deletions.
5 changes: 5 additions & 0 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ target 'TreecounterApp' do
# you should disable the next line.
use_flipper!()
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings["ONLY_ACTIVE_ARCH"] = "NO"
end
end
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
Expand Down
2 changes: 1 addition & 1 deletion ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,6 @@ SPEC CHECKSUMS:
Yoga: 9a08effa851c1d8cc1647691895540bc168ea65f
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: 6a4f2bd2ae99ccdcac663dae785c26c965e6b64f
PODFILE CHECKSUM: feabe0eeffe5ee4719637c7f783a729028f31c2e

COCOAPODS: 1.11.2
Loading

0 comments on commit 3d14488

Please sign in to comment.