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错误,不用急,很简单

  • 在安装了Xcode的前提下,终端执行如下命令 sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/

  • 如果没有安装,就先安装xcode

然后就可以重启项目了。

完成

你可能感兴趣的:(xcrun: error: unable to find utility "instruments", not a developer tool or in PATH)