問題:
I am following the tutorial on the official React Native website. 我正在關注官方React Native網站上的教程。
Using the following to build my project: 使用以下代碼構建我的項目:
react-native run-ios
I 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 PATH
Although, when I run the app from the .xcodeproj, everything works fine. 雖然,當我從.xcodeproj運行應用程序時,一切正常。
Any suggestions? 有什麼建議?
解決方案:
參考一: https://stackoom.com/question/2guER參考二: Error Running React Native App From Terminal (iOS)