Latest Clang location in XCode 4.5

I’ve updated XCode to 4.5 (with iOS 6) and installed latest command line tools.
Before that i always had the latest Clang version in


(clang and clang++ binaries), but now, with the last update, they are gone and i only have gcc and llvm stuff. I’ve checked ‘clang’ bins all over my Mac and found one in

  • OCUnit test cases not running
  • xcode 4.5 how to pick storyboards at launch
  • Bug in iPhone Simulator 5.1 with Xcode 4.5 using UIManagedDocument
  • can i change my iOS deployment target to 5.0 on xcode 4.5?
  • Provisioning profile stored in XCode project file for iOS apps
  • how to make xcodeproj file relative in Xcode 4.5
  • /Applications/

    But why so? First, why i have no clang in previous folder, where it always was, and second, it is the valid way to use as ‘default location for clang’ this xctoolchain folder (e.g., for cmake in project repository)

    EDIT: for Xcode 5 and more, clang is again present in .xctoolchain folder

    Solutions Collect From Internet About “Latest Clang location in XCode 4.5”

    If you installed the “command line tools for Xcode” you would have clang in a nice, intuitive location like “/usr/bin“.

    To get at them, you can go in via Xcode’s preferences like this:

    install command line components via Xcode

    or you can click the “Looking for additional developer tools” link at, where there’s a disk image and an installer you can download.

    Both of these options install the exact same components.