解决MacOS升级系统后出现xcrun: error: inva

2018-08-25  本文已影响15人  Lornatang

今天升级macOS系统后,终端里使用git的时候,弹出一行莫名其妙的错误:

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

解决方法,重装xcode command line

xcode-select --install
上一篇 下一篇

猜你喜欢

热点阅读