我已经安装:
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,并等待它安装组件。
酿酒师仍然给我错误:
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工作?
答案 0 :(得分:3)
相同的情况。也刚刚通过Xcode 10 Beta 3的命令行工具软件更新获得了更新。
我安装了该软件,然后重新安装了更新的SDK标头,brew config
现在显示CLT headers
,是的!
答案 1 :(得分:2)
只需通过用于Xcode 10 Beta 3的命令行工具的软件更新即可获得更新。
我安装了该软件,然后重新安装了SDK标头,现在可以使用了。
中答案 2 :(得分:0)
我遇到了同样的问题,重新启动后,文件出现在/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
我打开并安装了它。现在Brew再次正常工作。
答案 3 :(得分:0)
我正在使用Movaje 10.14.6-这是我所做的:
xcode-select --install
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /