昨晚刚刚安装了 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 失败。
这有充分的理由吗?
小智 21
对我来说,这是一个解决方案:
xcode-select --install
Run Code Online (Sandbox Code Playgroud)
安装完成后,git 又开始工作了。
归档时间: |
|
查看次数: |
7671 次 |
最近记录: |