about summary refs log tree commit diff
path: root/ios/Podfile
diff options
context:
space:
mode:
Diffstat (limited to 'ios/Podfile')
-rw-r--r--ios/Podfile12
1 files changed, 11 insertions, 1 deletions
diff --git a/ios/Podfile b/ios/Podfile
index 5991f646d..f9a45704c 100644
--- a/ios/Podfile
+++ b/ios/Podfile
@@ -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