xcrun unable to find simctl 解决

4,917 阅读1分钟

遇到报错:

xcrun: error: unable to find utility "simctl", not a developer tool or in PATH

打开Xcode > Preferences > Locations 更改一下 Command Line Tools选项就可以了。

xcrun unable to find simctl错误.png