在已經(jīng)安裝了Xcode的情況下執(zhí)行react-native run-ios 遇到下面錯(cuò)誤:
xcrun: error: unable to find utility "instruments", not a developer tool or in PATH
解決方法:在 終端執(zhí)行如下命令
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/
在已經(jīng)安裝了Xcode的情況下執(zhí)行react-native run-ios 遇到下面錯(cuò)誤:
xcrun: error: unable to find utility "instruments", not a developer tool or in PATH
解決方法:在 終端執(zhí)行如下命令
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/