Homebrew 给出找不到 SDK 的错误(MacOS 11/10.16)

Mys*_*456 10 macos homebrew macos-big-sur

我试图用 Brew 安装一个公式。但我总是收到一个错误:

Error: Could not find an SDK that supports macOS 11.0.
You may have have an outdated or incompatible CLT.
Homebrew found the following SDKs in the CLT install:
  10.14
  10.15

Please update CLT or uninstall it if no updates are available.
Run Code Online (Sandbox Code Playgroud)

我也更新到 Xcode 12 Beta 并将我的 CLT 路径设置为该路径,但我仍然收到此错误。有人可以帮我解决这个问题吗?

May*_*yas 9

您应该在此处为 Xcode 12 beta 3 安装命令行工具

  • 手动安装 Xcode 12 GM 和 CLT 后对我不起作用。 (6认同)