在MAC下,今天要git clone一个github库下来遇到这样的一个问题:1
2
3
4james@Desktop%git clon https://github.com/zgj0315/springbootWebService.git
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
james@Desktop%git clone https://github.com/zgj0315/springbootWebService.git
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
google了一下,发现需要重新安装下xcode command line:xcode-select --install
如果还没解决那么需要手动切换下xcode的路径sudo xcode-select -switch /
原文作者:warvyvr, warvyvr@gmail.com
原文链接:http://warvyvr.github.io/2017/09/19/crun/
发表日期:September 19th 2017, 7:30:27 am
更新日期:February 21st 2021, 12:32:44 pm
版权声明:本文采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可
-
Next Postrails记录
-
Previous PostCentos6.5 Ambari样板机