wiki:XcodeVersionInfo

Version 42 (modified by larryv (Lawrence Velázquez), 11 years ago) (diff)

Xcode 5.0 doesn't install LLVM-GCC; it's probably left over from 4.x

Xcode Version Information

This is a place to record various bits of information pertaining to a release of Xcode, including the build number and versions of llvm-gcc and clang.

Adding new entries

First make sure the versions of your installed Xcode and Command Line Tools match each other! You can upgrade the Command Line Tools from the tab "Downloads" in the preferences window of Xcode.app.

Then run the following command to generate a new entry and copy it directly to your clipboard for pasting it into this wiki page:

echo -en "=== $(/usr/bin/xcodebuild -version |head -n1) ===\n * '''Xcode''': $(/usr/bin/xcodebuild -version |tail -1)\n$(test -x /usr/bin/gcc-3.3 && echo " * '''gcc-3.3''': $(/usr/bin/gcc-3.3 --version 2>/dev/null |head -1)\n")$(test -x /usr/bin/gcc-4.0 && echo " * '''gcc-4.0''': $(/usr/bin/gcc-4.0 --version 2>/dev/null |head -1)\n")$(test -x /usr/bin/gcc-4.2 && echo " * '''gcc-4.2''': $(/usr/bin/gcc-4.2 --version 2>/dev/null |head -1)\n")$((test -x /usr/bin/llvm-gcc-4.2 || test -x /Developer/usr/bin/llvm-gcc-4.2) && echo " * '''llvm-gcc''': $((/usr/bin/llvm-gcc --version 2>/dev/null || /Developer/usr/bin/llvm-gcc --version 2>/dev/null) |head -1)\n")$((test -x /usr/bin/clang || test -x /Developer/usr/bin/clang) && echo " * '''clang''': $((test -x /usr/bin/clang && /usr/bin/clang --version 2>&1 || /Developer/usr/bin/clang --version 2>&1) |head -1)\n")" |tee /dev/tty |pbcopy

The toolchain version of the Xcode releases are also documented on Wikipedia.

OS X 10.8

Xcode 5.0

  • Xcode: Build version 5A1413
  • clang: Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn)

Xcode 4.6.3

  • Xcode: Build version 4H1503
  • llvm-gcc: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  • clang: Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)

Xcode 4.6.2

  • Xcode: Build version 4H1003
  • llvm-gcc: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  • clang: Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)

Xcode 4.6.1

  • Xcode: Build version 4H512
  • llvm-gcc: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  • clang: Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn)

Xcode 4.6

  • Xcode: Build version 4H127
  • llvm-gcc: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  • clang: Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)

Xcode 4.5.2

  • Xcode: Build version 4G2008a
  • llvm-gcc: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  • clang: Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)

Xcode 4.5.1

  • Xcode: Build version 4G1004
  • llvm-gcc: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  • clang: Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)

Xcode 4.5

  • Xcode: Build version 4G182
  • llvm-gcc: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  • clang: Apple clang version 4.1 (tags/Apple/clang-421.11.65) (based on LLVM 3.1svn)

Mac OS X 10.7

Xcode 4.6.2

  • Xcode: Build version 4H1003
  • llvm-gcc: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  • clang: Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)

Xcode 4.6.1

  • Xcode: Build version 4H512
  • llvm-gcc: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  • clang: Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn)

Xcode 4.6

  • Xcode: Build version 4H127
  • llvm-gcc: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  • clang: Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)

Xcode 4.5.2

  • Xcode: Build version 4G2008a
  • llvm-gcc: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  • clang: Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)

Xcode 4.5.1

  • Xcode: Build version 4G1004
  • llvm-gcc: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  • clang: Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)

Xcode 4.5

  • Xcode: Build version 4G182
  • llvm-gcc: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
  • clang: Apple clang version 4.1 (tags/Apple/clang-421.11.65) (based on LLVM 3.1svn)

Xcode 4.3.3

  • Xcode: Build version 4E3002
  • llvm-gcc: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
  • clang: Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)

Mac OS X 10.6

Xcode 4.2

  • Xcode: BuildVersion: 4C199
  • llvm-gcc: i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
  • clang: Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)

Xcode 3.2.6

  • Xcode: BuildVersion: 10M2518
  • gcc-4.0: i686-apple-darwin10-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5494)
  • gcc-4.2: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
  • llvm-gcc: i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.6)
  • clang: Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn)

Xcode 3.2.5

  • Xcode: BuildVersion: 10M2423
  • gcc-4.0: i686-apple-darwin10-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5494)
  • gcc-4.2: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
  • llvm-gcc: i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2333.4)
  • clang: Apple clang version 1.6 (tags/Apple/clang-70)

Xcode 3.2.4

  • Xcode: BuildVersion: 10M2309
  • gcc-4.0: i686-apple-darwin10-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5494)
  • gcc-4.2: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
  • llvm-gcc: i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2326.10)
  • clang: Apple clang version 1.5 (tags/Apple/clang-60)

Xcode 3.2.3

  • Xcode: BuildVersion: 10M2262
  • gcc-4.0: i686-apple-darwin10-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5494)
  • gcc-4.2: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
  • llvm-gcc: i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2326.10)
  • clang: Apple clang version 1.5 (tags/Apple/clang-60)

Xcode 3.2.2

  • Xcode: BuildVersion: 10M2148
  • gcc-4.0: i686-apple-darwin10-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)
  • gcc-4.2: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659)
  • llvm-gcc: i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5646) (LLVM build 2207.5)
  • clang: clang version 1.0.2 (http://llvm.org/svn/llvm-project/cfe/tags/Apple/clang-32 exported)

Xcode 3.2.1

  • Xcode: BuildVersion: 10M2003
  • gcc-4.0: i686-apple-darwin10-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)
  • gcc-4.2: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)
  • llvm-gcc: i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5646) (LLVM build 2206)
  • clang: clang version 1.0.1 (http://llvm.org/svn/llvm-project/cfe/tags/Apple/clang-24 exported)

Xcode 3.2

  • Xcode: BuildVersion: 10A432
  • gcc-4.0: i686-apple-darwin10-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)
  • gcc-4.2: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)
  • llvm-gcc: i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5646) (LLVM build 2118)
  • clang: clang version 1.0 (http://llvm.org/svn/llvm-project/cfe/tags/Apple/clang-23 exported)

Mac OS X 10.5

Xcode 3.1.4

  • Xcode: BuildVersion: 9M2809
  • gcc-4.0: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)
  • gcc-4.2: i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577)
  • llvm-gcc: i686-apple-darwin9-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5555) (LLVM build 2064.3)

Xcode 3.1.3

  • Xcode: BuildVersion: 9M2736
  • gcc-4.0: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)
  • gcc-4.2: i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5574)
  • llvm-gcc: i686-apple-darwin9-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5555) (LLVM build 2064.3)

Xcode 3.1.2

  • Xcode: BuildVersion: 9M2621
  • gcc-4.0: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)
  • gcc-4.2: i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5566)
  • llvm-gcc: i686-apple-darwin9-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5555) (LLVM build 2056)

Xcode 3.1.1

  • Xcode: BuildVersion: 9M2517
  • gcc-4.0: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488)
  • gcc-4.2: i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5564)
  • llvm-gcc: i686-apple-darwin9-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5555) (LLVM build 2056)

Xcode 3.1

  • Xcode: BuildVersion: 9M2199
  • gcc-4.0: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5484)
  • gcc-4.2: i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5564)
  • llvm-gcc: i686-apple-darwin9-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5555) (LLVM build 2039)

Xcode 3.0

  • Xcode: Component versions: DevToolsCore-921.0; DevToolsSupport-893.0
  • gcc-4.0: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)

Mac OS X 10.4

Xcode 2.0

  • gcc4 is 4.0.0

Xcode 2.1

  • gcc4 is 4.0.0

Xcode 2.2

  • gcc4 is 4.0.1

Xcode 2.2.1

  • gcc4 is 4.0.1

Xcode 2.3

  • gcc4 is 4.0.1

Xcode 2.4

  • gcc4 is 4.0.1

Xcode 2.4.1

  • gcc4 is 4.0.1

Xcode 2.5

  • gcc4 is 4.0.1 (Apple build 5370)