我刚刚更新到 Sierra 并从 Developer Portal 安装了 Xcode 8.2.1。
(为什么我没有使用 App Store?阅读这里。)
过去,要升级到新版本的 Xcode,我会.xip
从门户下载主包和 CLT 包,替换 Xcode,/Applications
然后安装工具包。在 8.x 中,似乎.xip
包含安装为 Homebrew 的两个软件包并没有抱怨工具稍微过时 - brew doctor
。
但是,brew config
将 CLT 列为N/A
. 如果没有单独的下载,我怎样才能找到他们的安装位置?
$ brew config
HOMEBREW_VERSION: 1.1.13-19-g55c02ae77
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 55c02ae7747bf05eadec95c91497d06ec3dd2ded
Last commit: 17 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: c1b829f4e31955bc8c9e19227ab7a41e92ab9b77
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.0 build 800
Git: 2.12.2 => /usr/local/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/Chris/.rbenv/shims/ruby => /usr/local/Cellar/ruby/2.4.1_1/bin/ruby
Java: N/A
macOS: 10.12.3-x86_64
Xcode: 8.2.1
CLT: N/A
X11: N/A