解决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

上一篇:macOS 升级后导致 dart bug


下一篇:js 文件上传进度条