1. 程式人生 > >MacOS 更新後,出現xcrun: error: invalid active developer path解決方法

MacOS 更新後,出現xcrun: error: invalid active developer path解決方法

報錯:

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

這裡需要用到一個命令

在命令列輸入

xcode-select --install

這裡裝的是一個小外掛裝完之後就可以用了。mojava更新完以後事情好多。。。