xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH
或者
xcrun: error: unable to find utility "xctest", not a developer tool or in PATH
解決辦法
打開Xcode--Preferences--Locations
在command line tools中選擇相應(yīng)的版本
Snipaste_2019-10-10_11-15-00.png