美文网首页
xcode-select: error: command lin

xcode-select: error: command lin

作者: 刘明洋 | 来源:发表于2020-01-09 11:52 被阅读0次

命令行执行

xcode-select --install

出现错误

xcode-select: error: command line tools are already installed, use "Software Update" to install updates

解决办法:

$ rm -rf /Library/Developer/CommandLineTools
$ xcode-select --install

如果还是报错,加上sudo

$ sudo  rm -rf /Library/Developer/CommandLineTools
$ sudo  xcode-select --install

相关文章

网友评论

      本文标题:xcode-select: error: command lin

      本文链接:https://www.haomeiwen.com/subject/zbryactx.html