iOS: Remove flipper and add workarounds for m1 simulator builds

This commit is contained in:
Paul Frazee 2022-06-14 19:05:34 -05:00
parent cef133031e
commit fee5317022
3 changed files with 55 additions and 198 deletions

View file

@ -29,10 +29,20 @@ target 'app' do
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
use_flipper!()
#use_flipper!()
post_install do |installer|
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
# iOS fix
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ONLY_ACTIVE_ARCH'] = 'YES'
end
end
end
end