Mac系統 xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)

mac 系統執行:make命令源碼安裝第三方包

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

解決方法:

打開終端輸入

xcode-select --install

 彈出下載xcode組件,點擊確認,下載完成後即可。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章