Skip to content
This repository

Supported Xcode Versions

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

OS X 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 April 2013
10.8 5.1 March 2014
10.9 5.1 March 2014

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)
5.0.0 - - - - 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
5.0.1 - - - - 5.0 (clang-500.2.78) (based on LLVM 3.3svn)
5.0.1 - - - - 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
5.1 - - - - 5.1 (clang-503.0.38) (based on LLVM 3.4svn)

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)
Something went wrong with that request. Please try again.