昨晚刚刚安装了 OS X 10.11,我惊讶地看到我的 Bash 终端做了以下事情:
$ git
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
Run Code Online (Sandbox Code Playgroud)
以前版本的 XCode 没有转移到新的操作系统。我尝试了全新安装的 Git,但在 Bash 中仍然出现相同的 XCode 失败。
这有充分的理由吗?