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

It's a known Flipper issue

1- Comment Flipper on PodFile

  post_install do |installer|
    flipper_post_install(installer)
  end

enter image description here

2- Install pods cd ios/ && pod install

3- Now you should be able to run Simulator cd .. && yarn ios

Here is the open issue in regards: https://github.com/facebook/flipper/issues/1940


I have solve my problem myself. If anybody have like this problem please follow the step below. I hope it will be helpful for solve your problem.

  1. First of all if you have installed react-native-cli older version globally on your computer, Please uninstall it because we have no need it.
  2. If you have installed Pod latest version, Please uninstall it and Install the earlier version: sudo gem install cocoapods -v 1.8.4.
  3. Then go to your work folder and create a new project by npx: npx react-native init AwesomeProject -or- npx react-native init AwesomeProject --version X.XX.X.
  4. Then go to your newly created project directory: cd AwesomeProject.
  5. Go to IOS folder : cd ios
  6. Install pod: pod install
  7. Back to root of your project : cd ..
  8. Ron the command: npx react-native start
  9. Open another terminal and Run the command: npx react-native run-ios

My problem was solve by this few steep above and I hope it will be helpful for you.