具体的报错信息为:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun解决方案:在终端上执行以下命令:xcode-select --install 执行了之后就OK啦。