xcrun: error: unable to find utility "simctl" 错误解决方案

 - ERROR | [iOS] unknown: Encountered an unknown error (/usr/bin/xcrun simctl list -j devices
xcrun: error: unable to find utility "simctl", not a developer tool or in PATH)
 during validation.

错误的原因:XCode未设置Command line tools
解决方法:在XCode -> Preferences -> Locations中设置Command line tools。

xcrun: error: unable to find utility
xcode-Preferences.png
xcrun: error: unable to find utility
Locations-Command line tools.png

你可能感兴趣的:(xcrun: error: unable to find utility "simctl" 错误解决方案)