xcrun: error: unable to find utility "instruments", not a developer tool or in PATH

xcrun: error: unable to find utility "instruments", not a developer tool or in PATH

 

用web storm 运行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

原文地址:https://www.cnblogs.com/shenlaiyaoshi/p/8516739.html