本文主要是介绍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
在WebStorm中运行React-native(iOS)工程时出现如下错误,
1.解决方法:
在终端执行如下命令
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/
注意:前提是你已经安装了xcode软件
2.导致原因
在安装watchman之前是可以正常运行react-native run-ios
的,但是前段时间进行安装了watchman软件之后,就出现了这种问题提示,使用上面命令顺利解决。
这篇关于xcrun: error: unable to find utility instruments, not a developer tool or in PATH的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!