Mac 使用brew doctor出现xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)

Mac使用brew doctor时出现:

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

终端输入:

xcode-select --install

软件安装完毕后可正常检查Homebrew

猜你喜欢

转载自blog.csdn.net/HHH_LLL/article/details/107501978