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
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.
- 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. - If you have installed Pod latest version, Please uninstall it and Install the earlier version:
sudo gem install cocoapods -v 1.8.4
. - 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
. - Then go to your newly created project directory: cd AwesomeProject.
- Go to IOS folder :
cd ios
- Install pod:
pod install
- Back to root of your project :
cd ..
- Ron the command:
npx react-native start
- 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.