Xcode 命令行工具在Sierra中的位置
我刚刚更新到Sierra并从开发者门户安装了Xcode 8.2.1 (为什么我没有使用应用商店?请阅读。) 过去,要升级到新版本的Xcode,我会从门户下载mainXcode 命令行工具在Sierra中的位置,xcode,homebrew,xcode-command-line-tools,Xcode,Homebrew,Xcode Command Line Tools,我刚刚更新到Sierra并从开发者门户安装了Xcode 8.2.1 (为什么我没有使用应用商店?请阅读。) 过去,要升级到新版本的Xcode,我会从门户下载main.xip和CLT包,在/Applications中替换Xcode,然后安装工具包。对于8.x,似乎.xip包含了两个安装为Homebrew的软件包,它们并不抱怨工具有点过时-brew doctor 但是,brew config将CLT列为N/A。如果没有单独的下载,我如何找到它们的安装位置 $ brew config HOMEBREW
.xip
和CLT包,在/Applications
中替换Xcode,然后安装工具包。对于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
更糟糕的是,2017年4月26日,自动下载CLT for Xcode并将其安装在我的Macbook Pro上会导致一些奇怪的事情,比如无法使用的内置摄像头 3次重新启动后,内置摄像头仍无法使用 必须在更新后卸载XCode,更新内容如下:
Command Line Tools (macOS Sierra version 10.12) for Xcode
Version 8.3. The Command Line Tools enable UNIX-style development...
Installed Apr 26, 2017
Xcode 8.3.2 includes Swift 3.1 and SDKs for iOS 10.3 ...
Installed Apr 20, 2017
然后重新启动后,摄像头再次开始工作