gpt4 book ai didi

homebrew - Brew不会在Mojave上升级

转载 作者:行者123 更新时间:2023-12-04 08:20:33 28 4
gpt4 key购买 nike

我已经安装了:

  • Xcode 10
  • Xcode 10 Beta和Beta 2的
  • 命令行工具(macOS 10.14)
  • macOS_SDK_headers_for_macOS_10.14.pkg使用以下命令:
    sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /

  • 我还打开了Xcode 10,并等待它安装组件。

    Brew仍然给我错误:
    Error: The Command Line Tools header package must be installed on Mojave.
    The installer is located at:
    /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg

    这是brew配置
    $ brew config
    HOMEBREW_VERSION: 1.6.12
    ORIGIN: https://github.com/Homebrew/brew
    HEAD: 0aab25bdb3bfa96d8eb14a38001ff6a24587bcdd
    Last commit: 8 hours ago
    Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
    Core tap HEAD: bde1292d5f98949e3f566b78c05e08bd30914afe
    Core tap last commit: 4 hours ago
    HOMEBREW_PREFIX: /usr/local
    CPU: quad-core 64-bit broadwell
    Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
    Clang: 10.0 build 1000
    Git: 2.17.1 => /Applications/Xcode-beta.app/Contents/Developer/usr/bin/git
    Curl: 7.54.0 => /usr/bin/curl
    Java: N/A
    macOS: 10.14-x86_64
    CLT: 10.0.0.0.1.1527767617
    CLT headers: N/A
    Xcode: 10.0 => /Applications/Xcode-beta.app/Contents/Developer
    XQuartz: 2.7.11 => /opt/X11

    接下来,我该怎么做才能使Brew工作?

    最佳答案

    同样的情况。也刚刚通过Xcode 10 Beta 3的命令行工具软件更新获得了更新。

    我安装了该软件,然后重新安装了更新的SDK header ,并且brew config现在显示CLT headers,是的!

    关于homebrew - Brew不会在Mojave上升级,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51270680/

    28 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com