error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65

Idan Asulin picture Idan Asulin · Mar 19, 2019 · Viewed 179k times · Source

I've build a react-native application and suddenly I get this error message on my terminal during run of the command react-native run-ios. The same code work fine 10 minutes ago and suddenly I get this error message. Please help...

Answer

Nana Adjei picture Nana Adjei · Jul 31, 2019

If you don't have cocoa pods installed you need to sudo gem install cocoapods

  1. run cd ios
  2. run pod install
  3. cd ..
  4. delete build folder
  5. run react-native run-ios

if error persists, 1. delete build folder again 2. open the /ios folder in x-code 3. navigate File -> Project Settings -> Build System -> change (Shared workspace settings and Per-User workspace settings): Build System -> Legacy Build System