ReactNative - unable to find utility "instruments", not a developer tool or in PATH
2017-06-26 11:26
1031 查看
我在终端输入命令代码sudo react-native run-ios来运行ReactNative项目的时候报错:
unable to find utility "instruments", not a developer tool or in PATH
我在想前两天还好好的,怎么现在不行了呢???经过查找才知道是因为我这两天安装了xcode 9 ,我的电脑上既有xcode8 又有xcode9,所以导致这个命令无法启动某一个版本的模拟器,所以先执行下面的查找设置命令代码:
sudo xcode-select -s /Applications/Xcode8.3.app/Contents/Developer/
其中Xcode8.3.app你可以替换你电脑上多个xcode的安装名。
然后再启动运行命令就好了 sudo react-native run-ios
unable to find utility "instruments", not a developer tool or in PATH
我在想前两天还好好的,怎么现在不行了呢???经过查找才知道是因为我这两天安装了xcode 9 ,我的电脑上既有xcode8 又有xcode9,所以导致这个命令无法启动某一个版本的模拟器,所以先执行下面的查找设置命令代码:
sudo xcode-select -s /Applications/Xcode8.3.app/Contents/Developer/
其中Xcode8.3.app你可以替换你电脑上多个xcode的安装名。
然后再启动运行命令就好了 sudo react-native run-ios
相关文章推荐
- 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
- xcrun: error: unable to find utility "instruments", not a developer tool or in PATH
- IOS-React-Native: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 工程时,出错:xcrun: error: unable to find utility "instruments", not a developer tool or in PATH
- xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH
- Terminal错误: unable to find utility "PackageApplication", not a developer tool or in PATH
- Xcode脚本自动化打包问题:xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH
- xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH
- xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH
- xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH
- xcode9打包报错:xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PAT
- codesign_allocate: error: unable to find utility "codesign_allocate", not a developer tool or in PAT
- Error - xcrun: error: unable to find utility “xcodebuild”, not a developer tool or in PATH
- 打包找不到 "PackageApplication" 文件, not a developer tool or in PATH
- Required content for platform tvOS Simulator is missing. unable to find utility "git", not a develop
- This application failed to start because it could not find or load the Qt platform plugin "xcb" in "
- )Name or service not known: mod_unique_id: unable to find IPv4 addr ess of "wb_three_cgi20"
- This application failed to start because it could not find or load the Qt platform plugin "xcb" in "