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

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

解决方案:

打开xcode,选择

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

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

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

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

相关文章:

  • 2021-09-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
猜你喜欢
  • 2021-10-17
  • 2021-07-29
  • 2021-07-01
  • 2021-04-12
  • 2021-08-19
相关资源
相似解决方案