解决:Mac brew Error: Your CLT does not support macOS 11.2

解决:Mac brew Error: Your CLT does not support macOS 11.2.

文章目录

    • 解决:Mac brew Error: Your CLT does not support macOS 11.2.
      • 报错信息
      • 解决问题
      • Referrence

报错信息

 MacBook-Pro $ brew install protobuf
Warning: You are using macOS 11.2.
We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this pre-release version.

==> Downloading https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f451532e8a8d9ba89a21c9743a0c59fbd0205c7f9426/six-1.15.0.tar.gz
######################################################################## 100.0%
==> Downloading https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/protobuf-all-3.13.0.tar.gz
==> Downloading from https://github-releases.githubusercontent.com/23357588/ea6d4100-de50-11ea-80a3-cace42dd0656?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210428%2Fus-east
######################################################################## 100.0%
Error: Your CLT does not support macOS 11.2.
It is either outdated or was modified.
Please update your CLT or delete it if no updates are available.

解决问题

访问 : https://developer.apple.com/download/more/

去下载最新的Command Line Tools for Xcode 12.5 beta入下图。然后执行安装,问题解决

解决:Mac brew Error: Your CLT does not support macOS 11.2_第1张图片

如过还是不行,请使用brew updatebrew doctor配合更新brew版本,并根据提示信息完成更新操作。

Referrence

https://github.com/Homebrew/brew#homebrew

https://github.com/Homebrew/discussions/discussions/913

https://flaviocopes.com/how-to-fix-clt-support-macos-11

你可能感兴趣的:(问题总结,mac)