skip to Main Content

I created a react-native project and added Firebase libraries to it. After which when i try npx react-native run-ios the build fails with below message.

CompileSwift normal x86_64 (in target 'ExpoModulesCore' from project 'Pods')
        CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'ExpoModulesCore' from project 'Pods')

I tried pod clean and pod install, pod deintegrate etc. Cleaned the xcode rm -rf ~/Library/Developer/Xcode/DerivedData Nothing works, my React Native version 0.64.3

Restarted my laptop as well 🙂

2

Answers


  1. After cleaning the project, try the following command and let me know how it goes.

    arch -x86_64 react-native run-ios
    
    Login or Signup to reply.
  2. Try to add arm64 architecture to debug mode.

    Targets -> Build Settings -> Excluded Architectures -> Any IOS Simulator SDK 
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search