Skip to content
Jack Nagel edited this page Jun 13, 2013 · 54 revisions

Supported Xcode Versions

Homebrew supports and recommends the latest Xcode and/or Command Line Tools available for your platform:

MacOS Version Supported Xcode Versions Supported CLT Versions
10.5 3.1.4 N/A
10.6 3.2.6, 4.2 N/A
10.7 4.6.3 January 2013
10.8 4.6.3 January 2013

Compiler Version Database

Xcode GCC 4.0 GCC 4.2 LLVM-GCC 4.2 LLVM Clang
2.5.0 5370
3.1.4 5493 5577 5555 2064.3
3.2.0 5493 5646 5646 2118
3.2.1 5493 5646 5646 2206
3.2.2 5493 5659 5646 2207.5 1.0.2
3.2.3 5494 5664 5658 2326.10 1.5 (60)
3.2.4 5494 5664 5658 2326.10 1.5 (60)
3.2.5 5494 5664 5658 2333.4 1.6 (70)
3.2.6 5494 5666 5658 2335.6 1.7 (77) (based on LLVM 2.9svn)
4.0.0 5494 5666 5658 2335.9 2.0 (137) (based on LLVM 2.9svn)
4.0.2 5494 5666 5658 2335.9 2.0 (137) (based on LLVM 2.9svn)
4.1.0 5666 5658 2335.15.00 2.1 (163.7.1) (based on LLVM 3.0svn)
4.2.0 5658 2336.1.00 3.0 (211.10.1) (based on LLVM 3.0svn)
4.3.0 5658 2336.9.00 3.1 (tags/Apple/clang-318.0.45) (based on LLVM 3.1svn)
4.3.1 5658 2336.9.00 3.1 (tags/Apple/clang-318.0.54) (based on LLVM 3.1svn)
4.3.2 5658 2336.9.00 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
4.3.3 5658 2336.9.00 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
4.4.0 5658 2336.11.00 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn)
4.4.1 5658 2336.11.00 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)
4.5.0 5658 2336.11.00 4.1 (tags/Apple/clang-421.11.65) (based on LLVM 3.1svn)
4.5.1 5658 2336.11.00 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
4.5.2 5658 2336.11.00 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
4.6.0 5658 2336.11.00 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
4.6.1 5658 2336.11.00 4.2 (clang-425.0.27) (based on LLVM 3.2svn)
4.6.2 5658 2336.11.00 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
4.6.3 5658 2336.11.00 4.2 (clang-425.0.28) (based on LLVM 3.2svn)

References to Xcode and compiler versions in code

When A new Xcode release is made, the following things need to be updated:

  • MacOS::Xcode.latest_version
  • MacOS::CLT.latest_version
  • MacOS::STANDARD_COMPILERS
  • MacOS::Xcode.version fallback logic
  • ensure compiler version Regexps continue to work (MacOS module)