解决MacOS升级后出现xcrun: error: invalid active developer path, missing xcrun的问题

升级了系统 命令行不能用了

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决方法,重装xcode command line:
xcode-select --install

还挺大的,cdn做的很好

 High Sierra,终端里使用git的时候,弹出一行莫名其妙的错误:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

解决方法,重装xcode command line:


链接:https://www.jianshu.com/p/50b6771eb853
posted @ 2018-12-26 18:00  躺着就赢了  阅读(517)  评论(0编辑  收藏  举报