最近更新了 mac os ,結果更新後執行 git pull 時出現
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
後來發現 xcode 沒更新
因此執行 xcode-select --install
後,即可正常執行YA
筆記一下~ 以免下次忘記 :)