問題
今天在更新 macOS 後, 在終端機執行 command 時出現 xcrun 錯誤。
訊息如下:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解決方法
重新安裝 Xcode Command Line Tools 即可
xcode-select --install