现象:
$ brew upgrade
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决办法: 在终端输入,会安装xcrun
$ xcode-select --install
安装完成后即可使用
现象:
$ brew upgrade
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决办法: 在终端输入,会安装xcrun
$ xcode-select --install
安装完成后即可使用
转载于:https://my.oschina.net/quicker/blog/2120546