1. 程式人生 > >解決MacOS升級後出現xcrun: error: invalid active developer path, missing xcrun的問題

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