Xcode命令行工具Homebrew警告

7
运行brew doctor时,我遇到了这个错误。
Warning: Your compilers are different from the standard versions for your Xcode.
If you have Xcode 4.3 or newer, you should install the Command Line Tools for
Xcode from within Xcode's Download preferences.
Otherwise, you should reinstall Xcode.

我已经多次重新安装了Xcode,并每次重新安装了CLI工具。


我有同样的问题。到目前为止有什么进展吗? - Jeanluca Scaljeri
1个回答

阿里云服务器只需要99元/年,新老用户同享,点击查看详情
6
您不需要重新安装Xcode。转到Xcode首选项菜单,然后单击下载。您将看到在组件下安装“命令行工具”的选项。安装完成后,Homebrew就不会再出现问题了。

这是注释而不是答案。 - S. S. Rawat
3
@Subhash 不,我不认为是这样。 - trojanfoe
2
这绝对是一个答案。 - Dan Green-Leipciger

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,