1. 程式人生 > >解決macos升級系統後出現make等命令無法使用的問題

解決macos升級系統後出現make等命令無法使用的問題

當在命令列執行make命令時,會出現以下錯誤:

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

解決方案:重灌xcode command line

xcode-select --install