Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Xcode clang version record
# Xcode 4.3.3
Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
# Xcode 4.3.2
Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
# Xcode 4.4
Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
# Xcode 4.4.1
Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
# Xcode 4.5
Apple clang version 4.1 (tags/Apple/clang-421.11.65) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
# Xcode 4.5.1
Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
# Xcode 4.5.2 (4G2008a)
Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
# Xcode 4.6
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
# Xcode 4.6.1
Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.3.0
Thread model: posix
# Xcode 4.6.2
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.3.0
Thread model: posix
# Xcode 4.6.3
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.4.0
Thread model: posix
# Xcode 5.0
Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
# Xcode 5.0.1 (5A2053), 5.0.2 (5A3005)
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
# Xcode 5.1 (5B130a)
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
# Xcode 5.1.1 (5B1008)
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
# Xcode 6.0 b7 (6A280n), GM (6A313)
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix
# Xcode 6.0.1 (6A317)
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
# Xcode 6.1 (6A1052c, 6A1052d)
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
# Xcode 6.1.1 (6A2008a)
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
# Xcode 6.2 (6C131e)
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix
# Xcode 6.3 (6D570)
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix
# Xcode 6.3.1 (6D1002)
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
# Xcode 6.3.2 (6D2105)
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
# Xcode 6.4 (6E35b)
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
(That's there is no change?)
# Xcode 7.0 beta (7A120f)
Apple LLVM version 7.0.0 (clang-700.0.53)
Target: x86_64-apple-darwin14.4.0
Thread model: posix
(thanks @karies)
# Xcode 7.0 GM (7A218)
Apple LLVM version 7.0.0 (clang-700.0.72)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
# Xcode 7.0 (7A220)
Apple LLVM version 7.0.0 (clang-700.0.72)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
(thanks @LogicalKnight)
# Xcode 7.1 (7B91b)
Apple LLVM version 7.0.0 (clang-700.1.76)
Target: x86_64-apple-darwin15.0.0
Thread model: posix
# Xcode 7.1.1 (7B1005)
Apple LLVM version 7.0.0 (clang-700.1.76)
Target: x86_64-apple-darwin15.0.0
Thread model: posix
# Xcode 7.2 (7C68)
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin15.2.0
Thread model: posix
(thanks @bobsummerwill)
# Xcode 7.2.1 (7C1002)
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin15.3.0
Thread model: posix
@bendiken

Thank you for sharing this, it is an excellent reference to have bookmarked. (Found it via Google.)

@jakepetroules

Xcode 5 final release is clang-500.2.76

@yamaya
Owner

Really?
This is no change from "500.2.75" where is my.

@MauricioCarneiro

any chance you know what version of LIBC++ they are shipping with each one of these Apple LLVM versions?

@yamaya
Owner

I don't record the libc++.

@anders-sjogren

After today's update of command line tools/xcode I get:

About Xcode:
Version 6.2 (6C131e)

/usr/bin/clang++ --version
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix

@yamaya
Owner

Thanks.

@anders-sjogren

After today's update of command line tools/xcode I get:

About Xcode:
Version 6.3 (6D570)

/usr/bin/clang++ --version
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix

(The bug preventing having debug symbols with C++ code containing C++14 type-deduced (auto) functions seems to be corrected. Hooray! :-))

EDIT: I see now that this update was already included in the list above. Sorry for the duplicate.

@karies

Xcode 7.0 beta (7A120f) after xcode-select'ing it:
Apple LLVM version 7.0.0 (clang-700.0.53)
Target: x86_64-apple-darwin14.4.0
Thread model: posix

@yamaya
Owner

Thanks @karies.
I update this page with your information.

@hgonzalez94

Does anyone know how to change the compiler version on an xcode target? I can only select 'latest llvm' from the build settings.

@oscarbg

Xcode 7,1 beta
Apple LLVM version 7.0.0 (clang-700.1.74)
Target: x86_64-apple-darwin14.4.0
Thread model: posix

@LogicalKnight

Xcode 7.0 (7A220)
$ clang --version
Apple LLVM version 7.0.0 (clang-700.0.72)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

@yamaya
Owner

Thanks @LogicalKnight.

@minsko

Xcode 7.0.1 (7A1001)
Apple LLVM version 7.0.0 (clang-700.0.72)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

@minsko

Xcode 7.1 (7B91b)
Apple LLVM version 7.0.0 (clang-700.1.76)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

@yamaya
Owner

Thanks @minsko

@JohnDDuncanIII

Xcode 7.2 beta (7C46l)
Apple LLVM version 7.0.0 (clang-700.1.78)
Target: x86_64-apple-darwin15.0.0
Thread model: posix

@swinbank

Is Xcode 7's LLVM based on 3.7? I assume it is since they were both released around the same time, but I'm curious why clang --version no longer reports this.

@minsko

Xcode 7.1.1 (7B1005)
Apple LLVM version 7.0.0 (clang-700.1.76)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
(Same as Xcode 7.1)

@ikantor

Any ideas when Apple is going to release clang-700.0.72 sources?

@socantre

Xcode Version 7.2 (7C68)
Apple LLVM version 7.0.2 (clang-700.1.81)

@bobsummerwill

More detailed version of previous post:

Xcode Version 7.2 (7C68)
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin15.2.0
Thread model: posix

@nlutsenko

Xcode 7.3 beta 2 (7D129n)
Apple LLVM version 7.3.0 (clang-703.0.16.1)
Target: x86_64-apple-darwin15.3.0
Thread model: posix

@socantre

The reported Target is based on the OS being used and has little to do with the clang version. The thread model is hard-coded as 'posix'. Neither of these need to be recorded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.