Unable to find utility "instruments", not a developer tool or in PATH

在调试ios上的项目的时候出现报错
unable to find utility "instruments", not a developer tool or in PATH
报错原因:

升级过xcode或者xcode多版本共存下没有设置默认版本

解决方案:

打开xcode,选择

切换到Locations,在command line tools 中选择你需要用的版本


此时完全退出xcode,再次尝试run-ios,一切正常!

posted @ 2018-05-21 13:36  YooHoeh  阅读(474)  评论(0编辑  收藏  举报
被你发现了?