Homebrew: Your CLT does not support macOS 11.0 解决办法
最近升级了macos11.0.1 big sur,在观望了2天以后准备升级。升级以后还算正常,但是homebrew不能正常使用,刚迁移到macos11有问题有正常。
在经过了大约一周的时间brew能安装预编译的包了,但是安装一些需要编译安装的还是错误。
Warning: Your CLT does not support macOS 11.0.
按照提示sudo xcode-select --install重新安装,没有更新,我是更新上来的。当时想可能新版OS发布还不稳定。今天升级一下,还是错误,于是去网上找了一下,发现不少人报这个错误。于是删掉重新安装。
sudo rm -rf /Library/Developer/CommandLineTools sudo xcode-select --install
现在分析可能是升级没有更新,这个坑也是很莫名。