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
After cleaning the project, try the following command and let me know how it goes.
Try to add arm64 architecture to debug mode.