What’s new in Xcode 15

Editing

  • Improved code completion
  • Improved asset handling to allow it to be supported in code completion and renames
  • Strings for internationalization will now show if they are stale (that’s cool)
  • Improved documentation styling and a new assistant which shows the documentation previews.
  • Check out Create Rich Documentation with DocC
  • Support for Swift Macros – they are using in Standard lib, Foundation and SwiftData frameworks – Learn more about @Observable, #Predicate, and @Model
  • Cmd-Shift-A allows you to access any menu options quickly.
  • To expand a macro use Cmd-Shift-A Expand Macros
  • (Expand on Swift Macros, and Write Swift Macros 

Navigating

  • BookMarks Navigator (in left panel) to get to things you’ve flagged.
  • Great for Find Queries
  • You can do “Conforming Types” queries in find panel

Sharing

  • Changes navigator and Commit editor – allows your to view mods in a single scrolling view.
  • Staging bar allows for easy unstaging

Testing

  • Updated test navigator (re-written in Swift) 45% faster
  • Can filter tests by result types, etc.
  • Insights on patterns of results
  • Playback of UI tests are supported by Video captures, etc. via test details view.

Debugging

  • OSLog integration within Xcode, so the Xcode console will now allow for filters, shows severity via color, etc.  Jump to line of code via the logger

Distributing

  • Xcode Cloud deals with versioning, signing and distribution.. adds in Test Flight Test details – to provide information to your testers, also will notarize your Mac Apps.
  • XCframeworks now has signature verifications – which shows who produced and signed the framework.
  • Privacy framework allows for improved Privacy report for app.
  • Most common distribution settings are bundled with Xcode.