react-native run-ios时报错xcrun: error: unable to find utility "instruments", not a developer tool or in PATH

命令行运行react-native 项目时,报错:xcrun: error: unable to find utility "instruments", not a developer tool or in PATH

解决方法:在 终端执行如下命令 sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/

注意:前提是你已经安装了xcode

 

原文地址:http://www.th7.cn/Program/IOS/201612/1035506.shtml

 

posted @ 2018-07-06 12:47  一江西流  阅读(770)  评论(0编辑  收藏  举报