运行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工具。
答案 0 :(得分:6)
您无需重新安装Xcode。转到Xcode首选项菜单,然后单击下载。您将看到在组件下安装“命令行工具”的选项。在那之后,安装好的自制软件停止抱怨。