From fdb48892d91e90ca66d295b46cbcdfe5f74d3353 Mon Sep 17 00:00:00 2001 From: Andy Date: Thu, 6 Oct 2022 14:59:57 +0200 Subject: [PATCH] LUN-445: add command to podfile to exclude arm64. --- ios/Podfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ios/Podfile b/ios/Podfile index 9b321de04..5e9c39571 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -36,8 +36,15 @@ target 'Lunes' do # you should disable these next few lines. # use_flipper!() + # Added the excluded_arch fix for M1 chips and cocoapods + 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| + config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = "arm64" + end + end end end