問題發(fā)生
Mac 升級 macOS high sierra
后,當(dāng)執(zhí)行 git
命令時,出現(xiàn)錯誤:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools),
missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解決辦法
$ xcode-select --install
xcode-select: note: install requested for command line developer tools