從終端運行React Native App時出錯(iOS) - Error Running React Native App From Terminal (iOS)

問題:

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)
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章