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 工具。

4

1 回答 1

6

You don't need to reinstall Xcode. Go to Xcode preferences menu and click on downloads. You will see option to install "Command Line Tools" under Components. After that's installed homebrew stops complaining.

于 2013-10-19T06:30:35.883 回答