Download Xcode From Apple Developer



Learn about the key features available in Xcode, the integrated development environment for building apps for Mac, iPhone, iPad, Apple Watch, and Apple TV. For detailed information on updates in the latest released versions, including each beta release, see the Xcode Release Notes.

Xcode 12

Xcode 12 includes Swift 5.3 and SDKs for iOS 14,iPadOS 14,tvOS 14,watchOS 7, and macOS Big Sur.

Xcode is a complete developer toolset for creating apps for Mac, iPhone, iPad, Apple Watch, and Apple TV. Xcode brings user interface design, coding, testing, debugging, and submitting to the App Store all into a unified workflow. Downloading and updating Xcode. The current release of Xcode is available as a free download from the Mac. Xcode 10.1 includes Swift 4.2.1 and SDKs for iOS 12.1, watchOS 5.1, tvOS 12.1, and macOS Mojave. Xcode 10 looks amazing in combination with Dark Mode in macOS Mojave, and makes it easy for you to adopt the new look in your macOS apps as well. Xcode 10 beta includes Swift 4.2 and beta SDKs for iOS 12, watchOS 5, tvOS 12, and macOS Mojave.

Universal apps

  • A single macOS Universal app includes native binaries for Intel-based Macs and Apple Silicon Macs
  • “Any Mac” destination in the toolbar builds a Universal app, even on Intel-based Macs
  • Standard Architectures build setting defaults to Universal, and Xcode offers to upgrade your project if needed
  • Run and debug the Intel binary within a Universal app by selecting “My Mac (Rosetta)” on a Developer Transition Kit (DTK) from the Universal App Quick Start Program

NOTE: Xcode 12.2 adds support for macOS Big Sur and Universal apps.

Refined user interface for macOS Big Sur

  • Document tabs open any type of document, including logs, asset catalogs, and UI files, in a lightweight editor tab
  • Toolbar, icons, and sidebar designs match the beautiful new aesthetic of macOS Big Sur
  • Navigator fonts track the size of the system setting or can be manually set to a custom size
  • Organizer is completely redesigned and reports new app metrics, such as hitches in animation and scrolling

Swift and SwiftUI

  • App lifecycle in SwiftUI enables entire apps to be written completely in SwiftUI for iOS, iPadOS, and macOS
  • WidgetKit built on SwiftUI makes it easy to share code for widgets that run on iOS, iPadOS, and macOS
  • SwiftUI performance is improved throughout, and new Lazy views efficiently handle enormous data sets
  • Multiplatform templates make it easy to share SwiftUI code across all Apple platforms, customized for each
  • SwiftUI Views can be turned into reusable components that appear in the Xcode library and in code completions
  • Swift Package Manager supports resources and localizations, making it great for sharing SwiftUI components
  • Improved Swift language diagnostics make it much easier to understand coding mistakes, especially in SwiftUI code

Mac Catalyst

  • Mac idiom displays your app’s user interface in 100% native Mac size and scale for total customization
  • Additional frameworks and controls are available, including HomeKit and AVCapture
  • Keyboard APIs and OS integration make it easier to completely control your app with the keyboard
  • Apps built with Mac Catalyst automatically inherit the new look and feel of macOS Big Sur

Other improvements

  • App clips target creates a small, focused experience from your app that installs quickly
  • StoreKit testing framework and transaction manager make it easy to test and debug in-app purchases

Xcode 11

Xcode 11 includes Swift 5.1 and SDKs for iOS 13,tvOS 13,watchOS 6, and macOS Catalina 10.15

This release adds many features to bring your apps to even more Apple platforms. SwiftUI is an innovative new user interface framework with a declarative Swift syntax that is easy to read, and natural to write. Amazing new preview tools let you manually type SwiftUI code, or modify the UI with rich design tools, with code and design always in sync. Get a head start on your Mac app by selecting the “Mac” checkbox in the project settings of your existing iPad app. And with support for Swift packages in Xcode 11, you can share code among all your apps, or make use of packages created by the community.

SwiftUI

Xcode 11 includes SwiftUI, a new Swift framework and accompanying design tools that empower a whole new way to build user interfaces. Design tools in Xcode make it as easy as drag-and-drop to construct or edit your interface, all while instantly editing the exact same Swift code file you can also edit by hand. Xcode is constantly running your real app interface live to see how it behaves directly in the design canvas, or you can instantly preview your app on an attached device.

SwiftUI includes:

  • Design tools read and write the same code you edit by hand for a single source of truth
  • Declarative syntax defines your user interface as easy-to-read Swift code
  • Animations are built using simple commands that describe the action you want to see
  • Library of controls and modifiers make it easy to design and build complex interfaces
  • Share common UI code across all Apple platforms, and add custom experiences for each OS
  • Previews show an exact rendering across various device types and accessibility settings
  • Interact with your interface live in the design canvas, or on an attached device
  • Hot-swap your edits into a live view of your app to instantly see and interact with changes

SwiftUI requires iOS 13,watchOS 6,tvOS 13, or macOS Catalina. To use the SwiftUI design canvas Xcode 11 must running on macOS Catalina.

Bring your iPad app to the Mac

It is easy to bring your existing iPad app to millions of Mac users. When you click a single checkbox Xcode can transform your iPad app into a true native Mac app that performs great.

  • Clicking a checkbox in your iPad project adds a native Mac app, built with the macOS SDK
  • Use a single code base for iPhone, iPad, and Mac versions of your app, and customize parts of your app for Mac
  • Add new SwiftUI code to the existing shared UIKit code
  • Submit to the Mac App Store directly from Xcode, or notarize for outside distribution

Swift and Swift Packages

  • Swift packages are supported throughout Xcode workflows — build, debug, SCM, and more
  • Easily use Swift packages published on GitHub, Bitbucket, GitLab, or your own hosts
  • Xcode automatically retrieves and manages packages based on dependency analysis
  • Create your own packages to share code among your own apps, or to publish for the community

iOS dark mode

  • Switch between light and dark mode instantly while developing and debugging
  • Asset catalog makes it easy to control images and colors for dark and light mode

Editor

  • Editor minimap gives a bird’s eye view of your code so you can quickly jump to any section
  • Each editor view or tab has its own preview, assistant, or other complementary views
  • Split any editor pane to layout your workspace exactly as you want

Other improvements in Xcode 11

  • Build stand-alone watchOS apps with a much faster debugging experience
  • Simulator launches much faster and uses the GPU to accelerate Metal code
  • Test plans give you greater control of your test harness with sharable results bundles
  • Automatically generate localized screenshots using UI tests as part of your test plan
  • Source control adds support for stash and cherry pick operations
  • Debug your app under simulated device conditions such as a slow network or thermal warnings
  • Metrics tab in the Organizer shows how efficiently your app runs on customer devices

Xcode 10.2.1

Xcode 10.2 includes Swift 5 and SDKs for iOS 12.2,tvOS 12.2,watchOS 5.2, and macOS Mojave 10.14.4.

Swift 5

  • Swift 5 runtime is included as part of the OS in the latest Apple platform releases
  • App Store thins the Swift runtime from your apps for faster downloads to devices running latest OS
  • SIMD vector types are built into the standard library
  • String literals have an enhanced syntax that makes them easier to read and write
  • New Result enum type makes it easier to handle errors across asynchronous operations

Other enhancements in Xcode

  • Debugger console has a new frame variable command alias “v” that is faster than “p” or “po”
  • Playgrounds include various stability improvements and additional memory safety checks

Xcode 10.2.1 fixes a build time issue in large Swift projects, and includes additional bug fixes.

Xcode 10.1

Xcode 10.1 includes Swift 4.2.1 and SDKs for iOS 12.1,watchOS 5.1,tvOS 12.1, and macOS Mojave.

Xcode 10

Xcode 10 looks amazing in combination with Dark Mode in macOS Mojave, and makes it easy for you to adopt the new look in your macOS apps as well. Xcode 10 beta includes Swift 4.2 and beta SDKs for iOS 12,watchOS 5,tvOS 12, and macOS Mojave.

Dark Mode Interface and Mac App Support

  • All-new dark appearance throughout Xcode and Instruments
  • Asset catalogs add dark and light variants for custom colors and image assets
  • Interface Builder switches between dark and light previews of your interface
  • Debug your Mac apps in dark or light variants without changing OS settings

Source Control

  • Changes in the local repository or upstream on a shared server are highlighted directly within the editor. At a glance, you’ll see:
  • Changes made in your code.
  • Changes not yet pushed to the shared repository.
  • Upstream changes others have made.
  • Conflicts you should address before committing.
  • Support for cloud-hosted and self-hosted Git server offerings from Atlassian Bitbucket, as well as GitLab to go along with existing GitHub support.
  • Xcode offers to rebase your changes when pulling the latest version of code from your repository.
  • SSH keys are generated if needed, and uploaded to service providers for you.

Editor Enhancements

  • Place multiple cursors in your code editor to make many changes at once.
  • Code folding ribbon can now hide any code block surrounded by braces.
  • Over-scroll makes it easy to center the last lines of code in the middle of your screen.

Playgrounds Built for Machine Learning

  • New REPL-like model reruns your existing playground code instantly.
  • Run your code up to any specific line, or type shift-return to run the code you just added.
  • Import the Create ML framework to interactively train new models, and then write code to test the model right in the playground. When finished, drag the model into your app.

Testing and Debugging

  • Debugging symbols are downloaded from a new device five times faster than before.
  • Xcode will spawn a collection of identical Simulators to take advantage of your multi-core Mac, and fan tests out to run in parallel, completing your test suite many times faster.
  • Run tests in random or linear order.
  • Instruments automatically show OSLog signposts you add into your code.
  • Build and share your own custom instruments package to provide unique data visualization and analysis for your own code.
  • Memory debugger uses a compact layout to make it easier to investigate your memory graph.
  • Metal shader debugger lets you easily inspect the execution of your vertex, fragment, compute, and tile shader code.
  • Metal dependency viewer provides a detailed graph of how resources are used in your Metal-based app.

Build Performance

  • New build system enabled by default with improved performance throughout.
  • Swift compiler builds each individual file significantly faster.
  • Large Swift projects build for debugging dramatically faster when using the incremental build setting.

Xcode 9.3

Xcode 9.3 includes Swift 4.1 and SDKs for iOS 11.3,watchOS 4.3,tvOS 11.3, and macOS High Sierra 10.13.4

  • New Energy tab in the Organizer window includes logs generated when your app consumes too much power
  • Swift build tasks and other commands are run in parallel more often to improve build performance
  • Swift compiler adds new code size optimization, enabled with the -Osize build setting
  • Quick access to callers is available by clicking on a symbol while holding the command key
  • Asset catalogs support AR Reference Image files that can be detected in the real-world by your ARKit apps
  • New xccov command line tool lets you inspect code coverage reports
  • Improved source editor performance when working on extremely large files

Xcode 9.2

Xcode 9.2 includes Swift 4 and SDKs for iOS 11.2,watchOS 4.2,tvOS 11.2, and macOS High Sierra 10.13.

  • Updates to the latest platform SDKs

Xcode 9.1

Xcode 9.1 includes Swift 4 and SDKs for iOS 11,watchOS 4,tvOS 11, and macOS High Sierra 10.13

  • Fixes an issue in Simulator that impacted the performance of OpenGL ES and maps
  • Improves support for iPhone X

Xcode 9.0.1

Xcode 9.0.1 includes Swift 4 and SDKs for iOS 11,watchOS 4,tvOS 11, and macOS High Sierra 10.13

  • Simulator improvements for iPhone X
  • Fixes a problem where the Test Navigator could become out of sync with available tests

Xcode 9.0

Xcode 9 includes Swift 4 and SDKs for iOS 11,watchOS 4,tvOS 11, and macOS High Sierra 10.13

  • Refactoring makes it easy to modify the structure of Swift, Objective-C, C, and C++ code
  • Code editor is blazingly fast and responsive and adds native support for Markdown syntax
  • Fix-its apply multiple improvements to your code in a single click, and can even add required protocol methods
  • New Source Control navigator and integrated GitHub accounts make it easy to manage code across a team
  • Wireless installation and debugging for iOS and tvOS apps on devices over the network
  • Simulator looks and behaves more like a real device and can simulate multiple devices at a time
  • iOS playground templates create documents that work in both Xcode and Swift Playgrounds on iPad
  • Find navigator is incredibly fast and results show up instantly
  • Project navigator automatically keeps files and groups in sync with Finder and source control
  • Xcode Server no longer requires macOS Server and can be fully configured in Xcode preferences
  • Next-generation build system improves reliability and performance when building many projects (optionally enabled)
  • Swift 4 compiler can also build Swift 3 code to enable staged migration, one module at a time
  • Latest SDKs include the Core ML framework for machine learning and ARKit for augmented reality

The Xcode IDE is at the center of the Apple development experience. Tightly integrated with the Cocoa and Cocoa Touch frameworks, Xcode is an incredibly productive environment for building apps for Mac, iPhone, iPad, Apple Watch, and Apple TV.

Xcode smoothly takes you from concept, to code, to customers.

Because everything is so well integrated, workflows feel natural. As you compose a new interface, the Assistant editor intuitively presents the related source code in a split window pane. Simply drag the mouse to connect UI controls to the implementation code. Apple LLVM compiler technologies parse your code, keeping every symbol you see in the LLDB debugger consistent with the editor and compiler. As you type, that same engine is constantly at work, finding mistakes and offering Fix-its for your code.

Download Xcode 7 Apple Developer

Xcode even communicates with the Apple developer website, so you can enable services such as Game Center or Passbook in your app with a single click. When your app is ready, Xcode will bundle and submit your app to the App Store.

Assistant Editor

The Assistant button splits the Xcode editor in two, with your primary work document on the left and an intelligent Assistant editor pane to the right. The Assistant editor automatically displays files that Xcode determines are most helpful to you based on the work you are performing in the primary editor. For instance, if you are editing MyClass.m in the primary editor, the Assistant will automatically show the counterpart MyClass.h.

Jump Bar

Clicking the Jump Bar, located at the top of every editor pane, you can quickly select what information to view in the Assistant editor. For instance, while editing source code in the primary editor, the Assistant can show the counterpart header, sub-classes or superclasses, or related tests.

The Jump Bar is a path control at the top of every editor pane that can be clicked to quickly jump to a new location, or begin typing to filter down to a specific file or method definition.

Interface Builder

Fully integrated within the Xcode IDE, the Interface Builder design canvas makes it simple to prototype a full user interface without writing any code. Prototype in minutes, then graphically connect your interface to the source within the Xcode editor, laying out windows, buttons, and sliders to create a functioning Mac, iPhone, or iPad user interface. With the Assistant editor, you can work on the graphical design side-by-side with the implementation source code. A simple mouse drag from a UI control to the source pane creates a connection between code and interface, and can even create the code stub for you.Learn more

The Version editor makes it easy to compare two versions of a file, see commit logs, check who made a code change, and even zoom back through the commit timeline. The Version editor splits the pane to show two different versions of the same file. Differences are highlighted as you travel through the timeline separating the editor views. Xcode can also create a local Git repository for new projects, or check out a hosted Subversion or Git repo. The top-level Source Control menu makes it easy to perform branch and merge operations, perfect for distributed teams.

Download Xcode From Apple Developer Site

Apple

Testing

Test-driven development is a first-class workflow within Xcode. The Test Navigator makes it incredibly easy to jump to any test in your project, execute an individual test, or execute a group of tests. The Assistant editor has new test-specific views that automatically track which tests exercise the code you are presently editing, keeping your tests and code in sync at all times.

Customize

The Xcode environment can be configured to match almost any workflow, including customization features like tabs, behaviors, and snippets.

Tabs.

Download Xcode From Apple Developer Tutorial

Create a completely unique view of your project with tabs. Each tab has its own navigator, editor, assistant, and utility area arrangement. You can name tabs for specific tasks, re-arrange them, or tear out the tab to create a stand-alone window.

Download Xcode 10.3 Apple Developer

Behaviors.

Tell Xcode what to do with events such as starting a debug session or encountering an error during a build. Coupled with tabs, you can create a custom work environment for each of your edit, design, build, or debug tasks. Custom behaviors can also completely re-arrange your window with a single key combination.

Snippets.

Dozens of pre-configured code completions, such as defining a new class or method, are included in the snippets library. By customizing or adding snippets, you can insert frequently entered code by typing only a few characters.

Get quick access to any file your project uses with Open Quickly (Command-Shift-O). Xcode immediately offers completions for your search, allowing you to choose one and hit Return to open the file or hit Option-Return to open in the Assistant editor.

Customize the way Xcode builds and runs your app depending on whether you are debugging, profiling, performing code analysis, or running a test suite. For example, the default scheme is configured to build your app in “Debug” mode when running, and the same scheme settings will build for “Release” when performing the Profile or Archive command. There is no need to change project settings as you move from task to task. Xcode configures the schemes for you automatically, or you can use the “Manage Schemes” menu to customize them yourself.