1. 程式人生 > >解決問題 xcrun: error: invalid active developer path

解決問題 xcrun: error: invalid active developer path

git comm 方法 run jin line cti dev div

文章轉載自 碼經筆記 [https://majing.io] https://majing.io/posts/10000002011165

升級到macOS High Sierra後,執行git命令報錯:

xcrun: error: invalid active developer path
(/Library/Developer/CommandLineTools), missing xcrun at:
/Library/Developer/CommandLineTools/usr/bin/xcrun

解決方法

xcode-select --install

如果還是有問題,嘗試

xcode-select --reset

解決問題 xcrun: error: invalid active developer path