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

猜你喜欢

转载自www.cnblogs.com/zongsir/p/10180742.html
今日推荐