今天更新MacOS後出現如下錯誤:
[email protected] ~/Git/my/community % git add .
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解決方法:執行如下指令
xcode-select --install
Source: StackOverFlow