錯誤
更新了系統後,進入到git工程目錄,輸入git指令,提示無效路徑錯誤
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools),
missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
以及在Android studio 提示錯誤
can't start git: /usr/bin/git
probably the path to git executable is not valid . `fix it`.
解決方案:
打開終端輸入以下語句,據說是重新安裝xcode指令工具
xcode-select --install