问题: MAC升级以后,执行git报如下错误:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决办法:
1. 打开Terminal
2. 运行:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools
xcode-select --install
3. Agress License, 升级 xcode
4. 重启Terminal