升级macos15后,Homebrew无法使用,提示Warning: You are using macOS 15.

395次阅读
没有评论

共计 769 个字符,预计需要花费 2 分钟才能阅读完成。

升级 macos15 后,Homebrew 无法使用,提示 Warning: You are using macOS 15.

使用 brew install XXX,时候提示如下:

Warning: You are using macOS 15.
We do not provide support for this pre-release version.
It is expected behaviour that some formulae will fail to build in this pre-release version.It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

Error: unknown or unsupported macOS version: :dunno

解决办法

git -C '/opt/homebrew' remote set-url origin https://github.com/Homebrew/brew

brew update

再次执行 install 即可成功

正文完
加入官方交流QQ群:778957856
post-qrcode
 0
clark
版权声明:本站原创文章,由 clark 于2024-09-18发表,共计769字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(没有评论)