xcrun unable to find simctl 解决

遇到报错:

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

你可能感兴趣的:(xcrun unable to find simctl 解决)