React-native -run-ios error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65
Solution 1
I've got the same error when run
$ react-native run-ios
My workaround steps:
- open project by Xcode and choose the signature information as the attached image.
- clear build folder: 'Your Project'/ios/build
- re-run:
$ react-native run-ios
Hope this help.
Solution 2
That's because there is a new version of Flipper and React Native might not come with the right one so best is to go in your podfile and add this use_flipper!({ 'Flipper' => '0.74.0' }) then run pod install
Solution 3
If you don't have cocoa pods installed you need to by command sudo gem install cocoapods
and run following commands from your project main directory
cd ios
pod install
cd ..
delete build folder from ios
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
developerjavad
Updated on September 15, 2022Comments
-
developerjavad over 1 year
good time. run ios error Failed
run code react-native run-ios
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening reactapp.xcodeproj
-
Vivek Yadav about 5 yearsSame problem but no solution. Have you got the answer?
-
-
Zoe L over 3 years'Your Project'/ios/build doesn't exist? Here is everything inside ios: Podfile, helloWorld, helloWorld.xcodeproj, Podfile.lock, helloWorld-tvOS, helloWorld.xcworkspace, Pods, helloWorld-tvOSTests, helloWorldTests
-
xpcrts AKA Rithisak over 3 yearsMe too, no build exist anymore