debugjavascriptreactCritical
Error Running React Native App From Terminal (iOS)
Viewed 0 times
runningerrorfromappiosnativereactterminal
Problem
I am following the tutorial on the official React Native website.
Using the following to build my project:
I get the error:
Although, when I run the app from the .xcodeproj, everything works fine.
Any suggestions?
Using the following to build my project:
react-native run-iosI get the error:
Found Xcode project TestProject.xcodeproj
xcrun: error: unable to find utility "instruments", not a developer
tool or in PATH
Command failed: xcrun instruments -s
xcrun: error: unable to find utility "instruments", not a developer
tool or in PATHAlthough, when I run the app from the .xcodeproj, everything works fine.
Any suggestions?
Solution
Check out this link (Running react-native run-ios occurs an error?). It appears to be a problem with the location of
In Xcode, select Xcode menu, then Preferences, then Locations tab. Select your Xcode version from the dropdown and exit Xcode.
Command line tools.In Xcode, select Xcode menu, then Preferences, then Locations tab. Select your Xcode version from the dropdown and exit Xcode.
Context
Stack Overflow Q#39778607, score: 998
Revisions (0)
No revisions yet.