问题描述:
macos 10.15.7 版本,安装 brew报错
需要安装 xcode CommandLineTools
安装 Command Line Tools 报错 invalid developer directory '/Library/Developer/CommandLineTools
解决办法
1.sudo rm -rf /Library/Developer/CommandLineTools
-
xcode-select --install
image.png
参考文献
https://stackoverflow.com/questions/17980759/xcode-select-active-developer-directory-error
网友评论