What's new in Xcode 15?

Xcode is the complete developer toolset used to create apps for Apple TV, Apple Watch, iPad, iPhone, and Mac. Xcode 15 includes everything you need to create amazing apps for all Apple platforms.

Xcode 15 supports developing apps for iOS 17, iPadOS 17, tvOS 17, watchOS 10, macOS 14. Xcode 15 supports on-device debugging for iOS 12 and later, tvOS 12 and later, and watchOS 5 and later. Xcode 15 requires a Mac running macOS Ventura 13.3 or later.

Source Editor

  • Inactive code in #if...#else...#endif blocks is now dimmed. This can be disabled in the Text Editing > Display preferences.

  • Code completion now suggests names based on file name when declaring a type in Swift.

  • Added a "Format to multiple lines" refactor action, to split code onto separate lines.

  • Xcode 15 added an option to boomark a line in any file or complete file.

Asset Catalogs

  • Xcode now generates Swift and Objective-C symbols for each color and image in the asset catalog.

  • Asset Catalog automatically infers a single scale slot when adding PDF images.

Signing and Distribution

  • Xcode Organizer window now supports streamlined archive distribution. Uploading or exporting an archive can now be accomplished with one click. Streamlined distribution methods use recommended settings. The custom method allows selection of other options.

  • Xcode now delivers app upload status push notifications to the person who uploaded to App Store Connect.

  • xcodebuild -exportArchive supports using App Store Connect authentication keys to upload apps to App Store Connect and the Apple notary service.

  • The Xcode Signing & Capabilities tab in the project editor now supports adding Apple approved managed capabilities that are associated with your development team and App ID.

  • The Archive action is now available when the simulator run destination is selected. Building an archive with the simulator selected produces an app with all the CPU architectures for the devices on the selected platform.

Download Xcode 15


Discussion

Read Community Guidelines
You've successfully subscribed to Developer Insider
Great! Next, complete checkout for full access to Developer Insider
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.