unable to locate xcodebuild,please make sure the path to the Xcode folder is set correctly

unable to locate xcodebuild,please make sure the path to the Xcode folder is set correctly

git clone 项目时出现这个错误,周五的时候还好好的,周一来了之后,懵逼了


unable to locate xcodebuild,please make sure the path to the Xcode folder is set correctly_第1张图片

解决这个问题也很简单,找到你的Xcode路径,在终端输入sudo xcode-select --switch  你的xcode路径


unable to locate xcodebuild,please make sure the path to the Xcode folder is set correctly_第2张图片

回车 走你 可以了 

你可能感兴趣的:(unable to locate xcodebuild,please make sure the path to the Xcode folder is set correctly)