我无法在我的 Mac 上安装任何 brew 包,并显示以下错误信息。
安装在我的 Mac 上:
- macOS 10.14 测试版 (18A293u)
- Xcode 9.3 (9E145)
- Xcode 10.0 测试版 (10L176w)
输入brew install xxx
. 输出是:
Error: Your Xcode (9.3) is too outdated.
Please update to Xcode 10.0 (or delete it).
Xcode can be updated from
https://developer.apple.com/download/more/
Error: Xcode alone is not sufficient on Mojave.
Install the Command Line Tools:
xcode-select --install
但是当我输入时xcode-select --install
,它说它不可用
Xcode 选择安装错误
我的 Mac 上两个版本的 Xcode 的路径:
/Applications/Xcode-beta.app
/Applications/Xcode.app
我的配置输出:
xcode-select -p
/Applications/Xcode.app/Contents/Developer
酿造配置
HOMEBREW_VERSION: 1.6.7
ORIGIN: https://github.com/Homebrew/brew
HEAD: 22e9fd772926e389e264cfb328c3d810b06759f9
Last commit: 5 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 854bb90b366169915849fc9a83e941b8883cea1f
Core tap last commit: 6 hours ago
HOMEBREW_PREFIX: /usr/local
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.3.6 =>./System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 9.1 build 902
Git: 2.15.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_131
macOS: 10.14-x86_64
CLT: N/A
Xcode: 9.3
XQuartz: N/A