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.
- Xcode 11 Latest Version Download
- Xcode 11 Latest Version 10.13
- Xcode 11 Latest Version
- Xcode 11 Latest Version 64-bit
- Xcode 11 Latest Version Download
- It was first released in 2003; the latest stable release is version 12.4, released on January 26, 2021, and is available via the Mac App Store free of charge for macOS Big Sur users. Registered developers can download preview releases and prior versions of the suite through the Apple Developer website.
- Xcode 11 can coexist with previous versions of Xcode. Xcode 11 includes SwiftUI, a new Swift framework to provides views, controls, and layout structures for declaring your app's user interface. Xcode 11 provides design tools to make it as easy as drag-and-drop to construct or edit UI, all in the same Swift code file you can also edit.
- Step 3 – Launch Xcode 11 beta. The excitement of trying out something new is unexplainable. Let’s go ahead and launch the new Xcode beta app. There so many ways to open the app. Go to your “Application” folder and double click on the “Xcode beta” app icon.
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.
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
Xcode 11 Latest Version Download
- 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
Xcode 11 is another major step towards refreshing our veteran IDE piece by piece, this time including support for UIKit apps on macOS (previously known widely as “Marzipan”), easier creation of user interface code through SwiftUI, Swift Package Manager support for iOS targets, significantly improved iOS simulator performance, and some slick improved to the code editing experience – there’s a mini-map now!
In this article I’m going to walk you through what’s changed so you can see for yourself. Note that for the full experience you should be running macOS 10.15.
SPONSORED Building and maintaining in-app subscription infrastructure is hard. Luckily there's a better way. With RevenueCat, you can implement subscriptions for your app in hours, not months, so you can get back to building your app.
Swift 5.1 is here!
Only a few months after Swift 5.0 shipped, Swift 5.1 has landed another raft of improvements to the language.
I’ve detailed these changes extensively in my article what’s new in Swift 5.1, along with releasing lots of videos that highlight individual features:
I’m expecting Swift 5.1 to ship as final alongside the Xcode 11 GM, which based on previous years is going to arrive in September. Hopefully soon we’ll start to get guidance on when to expect Swift 5.2 – as well as what to expect in there – but although it’s only a number I hope we’ll see Swift major releases sync up with Xcode major releases next year!
SwiftUI opens a bold new era
I’ve lost track of how many rumors there were about a declarative UI framework in the making somewhere deep inside Apple, but now it’s landed and SwiftUI is available for everyone to work with.
While it’s not going to be suitable for everyone in its current incarnation, the writing is clearly on the wall: I expect we’ll see SwiftUI 2.0 next year with a huge range of improvements, and more in 2021 and beyond – this is the future of UI development on Apple platforms, so even if you aren’t able to switch to it right now you should at least try it out.
For more information on SwiftUI, see my article: SwiftUI lets us build declarative user interfaces in Swift
Xcode 11 Latest Version 10.13
Note: If you want to see the SwiftUI preview window you need to install macOS 10.15.
Source editing gets another massive boost
Ever since Apple upgraded Xcode’s source editor a few years ago we’ve seen such a range of improvements to it – and this year is no different. I’m sure there are more things to discover, but the things I’m already enjoying are:
Xcode 11 Latest Version
- Triple-slashed Markdown comments now have formatting right inside your code. This means bold and italic appear right in your source code, and also – controversially! – means that documentation comments appear in Helvetica by default.
- The “Edit all Scope” feature is now aware of Markdown comments for functions, so if you rename a function parameter it now detects and updates the comments too.
- There’s a mini-map! This is a popular IDE feature that shows you the whole of your code file in a small window so you can jump around faster. Hold down Option as you move over the mini-map to see a quick preview of where you’re at.
Obviously I’m doing nothing but working in Xcode right now, so as I see new things I’ll let you know here!
Swift Package Manager supports iOS
So many people have been asking for this for such a long time, but as of Xcode 11 Swift Package Manager (SPM) now supports iOS apps. It take a lot more exploration before we’re able to tell whether CocoaPods and Carthage still lead the way in terms of functionality, but from what I can see SPM has all the important bases covered.
Xcode 11 Latest Version 64-bit
Expect an article on this real soon now!
The simulator is screamingly fast!
I can’t remember quite when it happened, but several years ago now the simulator stopped being able to run anything graphics-intensive with even a vaguely normal frame rate – SpriteKit and SceneKit were write offs, for example.
Xcode 11 Latest Version Download
Well, in Xcode 11 that’s dead and buried: the simulator now seems to run orders of magnitude faster, which means the requirement for external devices is significantly lowered.
Note: This requires macOS Catalina and iOS 13 simulators.
SPONSORED Building and maintaining in-app subscription infrastructure is hard. Luckily there's a better way. With RevenueCat, you can implement subscriptions for your app in hours, not months, so you can get back to building your app.