Jump to content

Xcode: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
No edit summary
Line 7: Line 7:
|caption =
|caption =
|developer = [[Apple Inc.]]
|developer = [[Apple Inc.]]
| latest preview version = 8 Beta 1 (8S128d)
| latest preview date = {{Start date and age|2016|5|13}}
|programming language = [[C (programming language)|C]], [[C++]], [[Objective-C]], [[Objective-C++]]
|programming language = [[C (programming language)|C]], [[C++]], [[Objective-C]], [[Objective-C++]]
|genre = [[Integrated development environment]] (IDE)
|genre = [[Integrated development environment]] (IDE)

Revision as of 20:04, 13 June 2016

Xcode
Developer(s)Apple Inc.
Stable release16.2 (16C5032a)[1] (December 11, 2024; 11 days ago (2024-12-11)) [±]
Preview release
8 Beta 1 (8S128d) / May 13, 2016; 8 years ago (2016-05-13)
Written inC, C++, Objective-C, Objective-C++
Operating systemMac OS X 10.3 (version 1.x)
Mac OS X 10.4 (version 2.x)
Mac OS X 10.5 (versions 2.5, 3.0, 3.1)
Mac OS X 10.6 (versions 3.2, 4.0, 4.1, 4.2)
Mac OS X 10.7 (versions 4.1, 4.2, 4.3, 4.4, 4.5, 4.6)
OS X 10.8 (version 4.4, 4.5, 4.6, 5.x)
OS X 10.9 (version 5.x, 6.0, 6.1, 6.2)
OS X 10.10 (version 6.x, 7.x)
OS X 10.11 (version 7.x)
TypeIntegrated development environment (IDE)
LicenseFreeware with open source components
Websitedeveloper.apple.com/xcode/

Xcode is an integrated development environment (IDE) containing a suite of software development tools developed by Apple for developing software for OS X, iOS, WatchOS and tvOS. First released in 2003, the latest stable release is version 7.3.1 and is available via the Mac App Store free of charge for OS X El Capitan users.[2] Registered developers can download preview releases and prior versions of the suite through the Apple Developer website.[3] However, Apple recently made a beta version of version 7.x of the software available to those of the public with Apple Developer accounts.[4]

Major features

Xcode supports source code for the programming languages C, C++, Objective-C, Objective-C++, Java, AppleScript, Python, Ruby, ResEdit (Rez), and Swift, with a variety of programming models, including but not limited to Cocoa, Carbon, and Java. Third parties have added support for GNU Pascal,[5] Free Pascal,[6] Ada,[7] C#,[8] Perl,[9] and D.

Thanks to the Mach-O executable format, which allows fat binary files, containing code for multiple architectures, Xcode can build universal binary files, which allow software to run on both PowerPC and Intel-based (x86) platforms and that can include both 32-bit and 64-bit code for both architectures. Using the iOS SDK, Xcode can also be used to compile and debug applications for iOS that run on ARM architecture processors.

Xcode includes the GUI tool Instruments, which runs atop a dynamic tracing framework, DTrace, created by Sun Microsystems and released as part of OpenSolaris.

Composition

The main application of the suite is the integrated development environment (IDE), also named Xcode. The Xcode suite includes most of Apple's developer documentation, and built-in Interface Builder, an application used to construct graphical user interfaces.

Up to Xcode 4.1, the Xcode suite included a modified version of the GNU Compiler Collection. In Xcode 3.1 up to Xcode 4.6.3, it included the LLVM-GCC compiler, with front ends from the GNU Compiler Collection and a code generator based on LLVM.[10] In Xcode 3.2 and later, it included the Clang C/C++/Objective-C compiler, with newly-written front ends and a code generator based on LLVM, and the Clang static analyzer.[11] Starting with Xcode 4.2, the Clang compiler became the default compiler,[12] Starting with Xcode 5.0, Clang was the only compiler provided.

Up to Xcode 4.6.3, the Xcode suite used the GNU Debugger (GDB) as the back-end for the IDE's debugger. Starting with Xcode 4.3, the LLDB debugger was also provided; starting with Xcode 4.5 LLDB replaced GDB as the default back-end for the IDE's debugger.[13] Starting with Xcode 5.0, GDB was no longer supplied.[14]

Removed features

Formerly, Xcode supported distributing a product build process over multiple systems. One technology involved was named Shared Workgroup Build, which used the Bonjour protocol to automatically discover systems providing compiler services, and a modified version of the free software product distcc to facilitate the distribution of workloads. Earlier versions of Xcode provided a system named Dedicated Network Builds. These features are absent in the supported versions of Xcode.

Xcode also includes Apple's WebObjects tools and frameworks for building Java web applications and web services (formerly sold as a separate product). As of Xcode 3.0, Apple dropped[15] WebObjects development inside Xcode; WOLips[16] should be used instead. Xcode 3 still includes the WebObjects frameworks.

Version history

1.x series

Xcode 1.0 was released in fall 2003. Xcode 1.0 was based on Project Builder, but had an updated user interface (UI), ZeroLink, Fix & Continue, distributed build support, and Code Sense indexing.

The next significant release, Xcode 1.5, had better code completion and an improved debugger.

2.x series

Xcode 2.0 was released with Mac OS X v10.4 "Tiger". It included the Quartz Composer visual programming language, better Code Sense indexing for Java, and Ant support. It also included the Apple Reference Library tool, which allows searching and reading online documentation from Apple’s website and documentation installed on a local computer.

Xcode 2.1 could create universal binary files. It supported shared precompiled headers, unit testing targets, conditional breakpoints, and watchpoints. It also had better dependency analysis.

The final version of Xcode for Mac OS X v10.4 was 2.5.

3.x series

Xcode 3.0 was released with Mac OS X v10.5 "Leopard". Notable changes since 2.1 include[17] the DTrace debugging tool (now named Instruments), refactoring support, context-sensitive documentation, and Objective-C 2.0 with garbage collection. It also supports Project Snapshots, which provide a basic form of version control; Message Bubbles, which show build errors debug values alongside code; and building four-architecture fat binaries (32 and 64-bit Intel and PowerPC).

Xcode 3.1 was an update release of the developer tools for Mac OS X, and was the same version included with the iPhone SDK. It could target non-Mac OS X platforms, including iPhone OS 2.0. It included the GCC 4.2 and LLVM GCC 4.2 compilers. Another new feature since Xcode 3.0 is that Xcode's SCM support now includes Subversion 1.5.

Xcode 3.2 was released with Mac OS X v10.6 "Snow Leopard" and installs on no earlier version of OS X. It supports static program analysis, among other features. It also drops official support for targeting versions earlier than iPhone OS 3.0. But it is still possible to target older versions, and the simulator supports iPhone OS 2.0 through 3.1. Also, Java support is "exiled" in 3.2 to the organizer.[18]

Xcode 3.2.6 is the last version that can be downloaded for free for users of Mac OS X v10.6. Downloading it requires a free registration at Apple's developer site.

4.x series

On June 2010, at the Apple Worldwide Developers Conference version 4 of Xcode was announced during the Developer Tools State of the Union address. Version 4 of the developer tools consolidates the Xcode editing tools and Interface Builder into one application, among other enhancements.[19][20] Apple released the final version of Xcode 4.0 on March 9, 2011. The software was made available for free to all registered members of the $99 per year Mac Developer program and the $99 per year iOS Developer program. It was also sold for $4.99 to non-members on the Mac App Store (no longer available). Xcode 4.0 drops support for many older systems, including all PowerPC development and software development kits (SDKs) for Mac OS X 10.4 and 10.5, and all iOS SDKs older than 4.3. The deployment target can still be set to produce binaries for those older platforms, but for Mac OS platforms, one is then limited to creating x86 and x86-64 binaries. Later, Xcode was free to the general public. Before version 4.1, Xcode cost $4.99.[21]

Xcode 4.1 was made available for free on July 20, 2011 (the day of Mac OS X Lion's release) to all users of Mac OS X Lion on the Mac App Store. On August 29, 2011, Xcode 4.1 was made available for Mac OS X Snow Leopard for members of the paid Mac or iOS developer programs.[22] Xcode 4.1 was the last version to include GNU Compiler Collection (GCC) instead of only LLVM GCC or Clang.

On October 12, 2011, Xcode 4.2 was released concurrently with the release of iOS 5.0, and it included many more and improved features, such as storyboarding and automatic reference counting (ARC).[23] Xcode 4.2 is the last version to support Mac OS X 10.6 "Snow Leopard", but is only available to registered developers with paid accounts; without a paid account, 3.2.6 is the latest download that appears for Snow Leopard.[24]

Xcode 4.3, released on February 16, 2012, is distributed as one application bundle, Xcode.app, installed from the Mac App Store. Xcode 4.3 reorganizes the Xcode menu to include development tools.[25] Xcode 4.3.1 was released on March 7, 2012 to add support for iOS 5.1.[26] Xcode 4.3.2 was released on March 22, 2012 with enhancements to the iOS Simulator and a suggested move to the LLDB debugger versus the GDB debugger (which appear to be undocumented changes).[citation needed] Xcode 4.3.3, released in May 2012, featured an updated SDK for Mac OS X 10.7.4 "Lion" and a few bug fixes.[27]

Xcode 4.4 was released on July 25, 2012.[28] It runs on both Mac OS X Lion (10.7) and OS X Mountain Lion (10.8) and is the first version of Xcode to contain the OS X 10.8 "Mountain Lion" SDK. Xcode 4.4 includes support for automatic synthesizing of declared properties, new Objective-C features such as literal syntax and subscripting, improved localization, and more.[29] On August 7, 2012, Xcode 4.4.1 was released with a few bug fixes.

On September 19, 2012, iOS 6 and Xcode 4.5 were released. Xcode added support for iOS 6 and the 4-inch Retina Display on iPhone 5 and iPod touch 5th generation. It also brought some new Objective-C features to iOS, simplified localization, and added auto-layout support for iOS.[13] On October 3, 2012, Xcode 4.5.1 was released with bug fixes and stability improvements.[2] Less than a month later, Xcode 4.5.2 was released, with support for iPad Mini and iPad with Retina Display, and bug fixes and stability improvements.

On January 28, 2013, iOS 6.1 and Xcode 4.6 were released.

5.x series

In June 2013, at the Apple Worldwide Developers Conference, version 5 of Xcode was announced.[30]

On September 18, 2013 Xcode 5.0 was released. It added support for iOS 7 SDK, with always support of OS X 10.8 Mountain Lion SDK but not the support of OS X 10.9 Mavericks SDK. This latest was only included in the betas version. It also added a version of Clang generating 64-bit ARM code for iOS 7. Apple removed support for building garbage collected Cocoa binaries in Xcode 5.1.[31]

6.x series

On June 2, 2014 at the World Wide Developers Conference, Apple announced version 6 of Xcode. Features include Playgrounds, live debugging tools, and a new programming language named Swift.[32] On September 17, 2014, at the same time, iOS and Xcode 6 were released. Xcode could be downloaded on the Mac App Store.

7.x series

On June 8, 2015 at the Apple Worldwide Developers Conference Xcode version 7 was announced. It introduced support for Swift 2, and Metal for OS X, and added support for deploying on iOS devices without an Apple Developer license.[33] Xcode 7 was released on September 16, 2015.

Version comparison table

Xcode 1.0 - Xcode 2.x (before iOS support)

Xcode 3.0 - Xcode 4.x

Xcode 5.0 - 6.x (since arm64 support)

Xcode 7.0 - 7.x (since Swift 2.0 support)

Version history
Version Build Release date min OS X to run OS X SDK(s) iOS SDK included watchOS SDK included tvOS SDK included downloadable Simulators

7.0

7A220 September 16, 2015 10.10.4 OS X v10.11 (15A278) iOS 9 (13A340) watchOS 2 (13S343) - iOS 8.4 + iOS 8.3 + iOS 8.2 + iOS 8.1

7.0.1

7A1001 September 28, 2015

7.1

7B91b October 21, 2015 10.10.5 iOS 9.1 (13B137) tvOS 9.0 (13T393) iOS 9.0 + iOS 8.4 + iOS 8.3 + iOS 8.2 + iOS 8.1

7.1.1

7B1005 November 9, 2015

7.2

7C68 December 8, 2015 OS X v10.11.2 (15C43) iOS 9.2 (13C75) watchOS 2.1 (13S660) tvOS 9.1 (13U78) iOS 9.1 + iOS 9.0 + iOS 8.4 + iOS 8.3 + iOS 8.2 + iOS 8.1 + tvOS 9.0 + watchOS 2.0

7.2.1

7C1002 February 3, 2016 tvOS 9.1 (13U79)

7.3

7D175 March 21, 2016 10.11 OS X v10.11.4 (15E60) iOS 9.3 (13E230) watchOS 2.2 (13V143) tvOS 9.2 (13Y227) iOS 9.2 + iOS 9.1 + iOS 9.0 + iOS 8.4 + iOS 8.3 + iOS 8.2 + iOS 8.1 + tvOS 9.1 + tvOS 9.0 + watchOS 2.1 + watchOS 2.0

7.3.1

7D1014 May 3, 2016
Version Build Release date min OS X to run[67] OS X SDK(s)[68] iOS SDK included[69] watchOS SDK included[70] tvOS SDK included[71] downloadable Simulators[72]
Discontinued Current release Beta

Toolchain versions

Toolchain version history
Xcode cctools ld64 Apple LLVM-Clang Swift
5.0.0 846.2.1 224.1 5.0 (clang-500.2.75) (based on LLVM 3.3svn)[73]
5.0.1 846.2.4 224.1 5.0 (clang-500.2.79) (based on LLVM 3.3svn)[73]
5.0.2 846.2.4 224.1 5.0 (clang-500.2.79) (based on LLVM 3.3svn)[73]
5.1 855 236.3 5.1 (clang-503.0.38) (based on LLVM 3.4svn)[73]
5.1.1 855 236.4 5.1 (clang-503.0.40) (based on LLVM 3.4svn)[73]
6.0.1 862 241.8 6.0 (clang-600.0.51) (based on LLVM 3.5svn)[73] 1.0 (swift-600.0.51.4)
6.1 862 241.9 6.0 (clang-600.0.54) (based on LLVM 3.5svn)[73] 1.1 (swift-600.0.54.20)
6.1.1 862 241.9 6.0 (clang-600.0.56) (based on LLVM 3.5svn)[73] 1.1 (swift-600.0.56.1)
6.2 862 241.9 6.0 (clang-600.0.57) (based on LLVM 3.5svn)[73] 1.1 (swift-600.0.57.4)
6.3 870 242 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)[73] 1.2 (swiftlang-602.0.49.3)
6.3.1 870 242 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)[73] 1.2 (swiftlang-602.0.49.6)
6.3.2 870 242 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)[73] 1.2 (swiftlang-602.0.53.1)
6.4 870 242.2 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)[73] 1.2 (swiftlang-602.0.53.1)
7.0 877.5 253.3 7.0.0 (clang-700.0.72)[73] 2.0 (swiftlang-700.0.59)
7.1 877.7 253.6 7.0.0 (clang-700.1.76)[73] 2.1 (swiftlang-700.1.101.6)
7.2 877.8 253.9 7.0.2 (clang-700.1.81)[73] 2.1.1 (swiftlang-700.1.101.15)
7.2.1 877.8 253.9 7.0.2 (clang-700.1.81)[73] 2.1.1 (swiftlang-700.1.101.15)
7.3 886 264.3.101 7.3.0 (clang-703.0.29)[73] 2.2 (swiftlang-703.0.18.1)
7.3.1 886 264.3.102 7.3.0 (clang-703.0.31)[73] 2.2 (swiftlang-703.0.18.8)
Xcode cctools [79] ld64[80] Apple LLVM-Clang[81] Swift[82]

See also

References

  1. ^ "Xcode 16.2 (16C5032a) - Releases - Apple Developer". Apple Developer. Apple Inc. December 11, 2024. Retrieved December 12, 2024.
  2. ^ a b "Xcode on the Mac App Store". Apple Inc. Retrieved November 10, 2014.
  3. ^ "Mac Dev Center". Apple Developer. Retrieved July 31, 2011.
  4. ^ "Xcode Downloads". Apple Developer. Retrieved July 26, 2014.
  5. ^ Adriaan van Os. "GNU Pascal and Xcode". Microbizz.nl. Retrieved June 21, 2010.
  6. ^ "Using Free Pascal with Xcode". Pascal-central.com. Retrieved June 21, 2010.
  7. ^ "Tools". macada.org. Retrieved February 8, 2011.
  8. ^ "CSharpPlugin - cocoa-sharp-dev - Google Code". Code.google.com. Retrieved June 21, 2010.
  9. ^ "CamelBones, an Objective-C/Perl bridge for Mac OS X & GNUStep - Home". Camelbones.sourceforge.net. December 1, 2004. Retrieved June 21, 2010.
  10. ^ Prince McLean (June 20, 2008). "Apple's other open secret: the LLVM Compiler". Retrieved April 3, 2012.
  11. ^ "XCode 3.2: teh awesome edition". August 30, 2009. Archived from the original on June 16, 2013.
  12. ^ "New Features in Xcode 4: Xcode 4.2". Apple. September 16, 2015. Retrieved October 18, 2015.
  13. ^ a b "New Features in Xcode 4: Xcode 4.5". Apple Inc. September 16, 2015. Retrieved October 18, 2015.
  14. ^ "New Features in Xcode 5: Xcode 5.0". September 16, 2015. Retrieved October 18, 2015.
  15. ^ David Holt says: (May 15, 2010). "Facts about WebObjects (WebObjects Community)". Wocommunity.org. Retrieved June 21, 2010.{{cite web}}: CS1 maint: extra punctuation (link)
  16. ^ "WOLips". Wiki.objectstyle.org. February 27, 2010. Retrieved June 21, 2010.
  17. ^ "Apple - Mac OS X Leopard - Features - 300+ New Features". Archived from the original on October 16, 2007.
  18. ^ "Apple Developer Tools for Java". Apple. Retrieved February 8, 2011.
  19. ^ "WWDC Software Notes: Safari 5, Xcode 4, iTunes 9.2". Mac Rumors. June 8, 2010. Retrieved June 21, 2010.
  20. ^ "Developer Tools - What's New in Xcode 4". Apple Developer. Retrieved February 8, 2011.
  21. ^ "Apple makes Xcode free to all with release of 4.1 on Mac App Store". AppleInsider. July 20, 2011. Retrieved July 3, 2013.
  22. ^ "New Features in Xcode 4: Xcode 4.1". Apple Inc. Retrieved October 18, 2015.
  23. ^ "New Features in Xcode 4: Xcode 4.2". Apple Inc. Retrieved October 18, 2015.
  24. ^ "Why can't I download Xcode 4.2 for Snow Leopard?". Retrieved May 2, 2015.
  25. ^ "What's New in Xcode 4.3". Apple Inc. Retrieved October 3, 2012.
  26. ^ "New Features in Xcode 4: Xcode 4.3.1 and 4.3.2". Apple Inc. Retrieved October 18, 2015.
  27. ^ "New Features in Xcode 4: Xcode 4.3.3". Apple Inc. Retrieved October 18, 2015.
  28. ^ "Xcode 4.4 rolls out to OS X, iOS developers via the Mac App Store". 9to5Mac. July 25, 2012. Retrieved August 2, 2012.
  29. ^ "New Features in Xcode 4: Xcode 4.4". Apple Inc. Retrieved October 18, 2015.
  30. ^ "Apple seeds first iOS 7 and OS X Mavericks betas to developers". AppleInsider. June 10, 2013. Retrieved June 11, 2013.
  31. ^ "New Features in Xcode 5: Xcode 5.1". April 20, 2015. Retrieved May 2, 2015.
  32. ^ "Xcode 6, Swift, CloudKit, and more surprising developer news from WWDC 2014". TechRepublic. June 5, 2014. Retrieved June 6, 2014.
  33. ^ "New Features in Xcode 7: Xcode 7.0". developer.apple.com. Retrieved June 9, 2015.
  34. ^ a b "iPhone Software Development: Old versions of iPhone SDK". Retrieved May 2, 2015.
  35. ^ "Unauthorized - Apple Developer" (PDF). Retrieved May 2, 2015.
  36. ^ "Unauthorized - Apple Developer" (PDF). Retrieved May 2, 2015.
  37. ^ "Unauthorized - Apple Developer" (PDF). Retrieved May 2, 2015.
  38. ^ "Unauthorized - Apple Developer" (PDF). Retrieved May 2, 2015.
  39. ^ "Old versions of iPhone SDK". There were several releases of Xcode 3.2.3: with iOS 4.0; with iOS 4.0.1; with iOS 4.0.2 SDK
  40. ^ "Unauthorized - Apple Developer" (PDF). Retrieved May 2, 2015.
  41. ^ "Unauthorized - Apple Developer" (PDF). Retrieved May 2, 2015.
  42. ^ "Xcode". Retrieved May 2, 2015.
  43. ^ "Unauthorized - Apple Developer" (PDF). Retrieved May 2, 2015.
  44. ^ "Unauthorized - Apple Developer" (PDF). Retrieved May 2, 2015.
  45. ^ "Mac App Store - Xcode". Retrieved May 2, 2015.
  46. ^ "How to Install Older iOS Simulators in XCode 4.2.1 (SDK5.0)". Retrieved May 2, 2015.
  47. ^ "iphone - Xcode 4.2.1 for Snow Leopard - Stack Overflow". Retrieved May 2, 2015.
  48. ^ "Mac App Store - Xcode". Retrieved May 2, 2015.
  49. ^ "Mac App Store - Xcode". Retrieved May 2, 2015.
  50. ^ "Mac App Store - Xcode". Mac App Store. Retrieved May 2, 2015.
  51. ^ "iphone - Install Simulator SDK 4.3 to Xcode 4.4 on Mountain Lion - Stack Overflow". Retrieved May 2, 2015.
  52. ^ "Unauthorized - Apple Developer" (PDF). Retrieved May 2, 2015.
  53. ^ "Mac App Store - Xcode". Mac App Store. Retrieved May 2, 2015.
  54. ^ "Unauthorized - Apple Developer" (PDF). Retrieved May 2, 2015.
  55. ^ "Mac App Store - Xcode". Mac App Store. Retrieved May 2, 2015.
  56. ^ "Mac App Store - Xcode". Mac App Store. Retrieved May 2, 2015.
  57. ^ "Xcode 5 and iOS 7: Architecture and Valid architectures".
  58. ^ "ios5 - Use iOS 5 Simulator in XCode 5? - Stack Overflow". Retrieved May 2, 2015.
  59. ^ "About 64-Bit Cocoa Touch Apps".
  60. ^ "Install ios 5 simulator to xcode 5.1?". Retrieved May 2, 2015.
  61. ^ "iphone - ios 6.0 Simulator in xcode 5.1 - Stack Overflow". Retrieved May 2, 2015.
  62. ^ "ios - Xcode 6 Standard architectures exclude armv7s - Stack Overflow". Retrieved May 2, 2015.
  63. ^ "xcode - iOS 6.1 simulator on OSX 10.10 Yosemite - Stack Overflow". Retrieved May 2, 2015.
  64. ^ Developer Portal version
  65. ^ MAS version
  66. ^ LSMinimumSystemVersion from Info.plist
  67. ^ plutil -p Xcode.app/Contents/Info.plist | grep LSMinimumSystemVersion
  68. ^ cd Xcode.app/Contents/Developer; cd Platforms/MacOSX.platform/Developer/SDKs/; plutil -p */System/Library/CoreServices/SystemVersion.plist; cd -
  69. ^ cd Xcode.app/Contents/Developer; ls Platforms/iPhoneOS.platform/DeviceSupport/ | grep '(.*)'
  70. ^ cd Xcode.app/Contents/Developer; ls Platforms/WatchOS.platform/DeviceSupport/ | grep '(.*)'
  71. ^ cd Xcode.app/Contents/Developer; ls Platforms/AppleTVOS.platform/DeviceSupport/ | grep '(.*)'
  72. ^ from preferences -> downloads
  73. ^ a b c d e f g h i j k l m n o p q r s t u v w x y z aa ab ac ad "Xcode clang version record gist". Retrieved May 29, 2013.
  74. ^ /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.0 --version
  75. ^ /Developer/usr/bin/gcc-4.2 --version
  76. ^ Xcode.app/Contents/Developer/usr/bin/llvm-gcc --version
  77. ^ Xcode.app/Contents/Developer/usr/bin/llvm-gcc --version
  78. ^ Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --version
  79. ^ cd Xcode.app/Contents/Developer; Toolchains/XcodeDefault.xctoolchain/usr/bin/otool --version
  80. ^ cd Xcode.app/Contents/Developer; Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -v
  81. ^ cd Xcode.app/Contents/Developer; Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --version
  82. ^ cd Xcode.app/Contents/Developer; Toolchains/XcodeDefault.xctoolchain/usr/bin/swift --version

Template:Integrated development environments for C and C++