xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
Mac下xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
网上搜索了很久都说:
xcode-select --install
但是一直报错,不能连接到更新服务器。
到这里到这里下载:https://developer.apple.com/download/more/ Command Line Tools (macOS 10.14) for Xcode 10.1.dmg
安装就OK了
参考:
https://www.jianshu.com/p/91eb22fd940b
还有一个问题是, MacOS mojave 10.14.1下载到中间,然后重新下载就一直停住,没办法。要么把资源库的 Updates的内容删除,但是没有权限,还需要到安全模式,有点麻烦,于是我还是直接下载安装包好了。
https://support.apple.com/kb/DL1981?locale...
本作品采用《CC 协议》,转载必须注明作者和本文链接
推荐文章: