7

When running brew doctor i get this error

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.

I have re-installed xcode multiple times and reinstalled the cli tools everytime.

1
  • I have the same issue. Any luck so far ? Sep 11, 2013 at 19:40

1 Answer 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.

3
  • this is comment not an answer Oct 19, 2013 at 6:51
  • 3
    @Subhash No, I don't believe it is.
    – trojanfoe
    Oct 19, 2013 at 8:06
  • 2
    It's defiantly an answer Nov 26, 2013 at 22:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.