[vscode react-native] xcrun: error: unable to find utility "instruments", not a developer tool or in

运行环境:Mac + vscode + xcode IOS

ReactNative运行的时候出现这个错误

使用vscode运行reactnative 项目时报错:xcrun: error: unable to find utility "instruments", not a developer tool or in PATH

在网上找到的解决方法: 在mac 控制台中输入 sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/

重新打开VScode 运行 react-native run-IOS即可

猜你喜欢

转载自blog.csdn.net/u010395357/article/details/82499618