現象:
$ 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
安裝完成後即可使用