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

在已经安装了Xcode的情况下执行react-native run-ios 遇到下面错误:
xcrun: error: unable to find utility "instruments", not a developer tool or in PATH

解决方法:在 终端执行如下命令

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/

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