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



  • 执行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/
    注意:前提是你已经安装了xcode



  • @psx900910 3Q用到了


登录后回复