← All release notes
XcodeXcode 26Aug 19, 2026 · 5 min read

What's New in Xcode 26

Xcode 26's build system default flip, AI coding panel, rebuilt Instruments, and UI test recording — what shipped and what to adopt.

Xcode 26 leans more on the IDE and build system than the language. The headline items are an AI coding panel wired directly into Settings, a rebuilt Instruments, and a build-system default flip that's been years in the making.

#Coding tools: ChatGPT built in, bring your own model

Xcode 26 ships a "Coding Tools" pane under Settings → Intelligence with ChatGPT wired in by default — a capped number of free requests, more if you sign in with a ChatGPT Plus account. You can also point Xcode at Anthropic's API directly by adding a Claude API key and endpoint in the same pane, or at any provider that speaks the OpenAI-compatible Chat Completions API, including a model running locally on Apple silicon. This is an account/settings integration, not a new framework — there's nothing to import.

Use it for inline suggestions and chat-based editing inside the IDE. It's an alternative to running an external tool alongside Xcode, not a replacement for CI-grade automation.

#Explicit modules are now the default build mode

Swift explicit modules — where the compiler resolves and builds module dependencies as a separate, cacheable step instead of discovering them lazily mid-compile — are now the default for every Swift target in Xcode 26, not an opt-in. In practice this means more predictable incremental builds and clearer diagnostics when a module fails to build, since the dependency graph is resolved up front.

Adopt it by doing nothing — if your project builds clean under Xcode 26 you're already on the new mode. Unusual build setups (custom module maps, some CocoaPods configurations) that relied on the old lazy discovery are the ones worth a clean CI build early, rather than finding out later.

#Predictive code completion gets faster and more granular

The on-device completion engine introduced in Xcode 15 got faster and better at multi-line predictions in Xcode 26. New this release: holding Control while accepting a suggestion now accepts it in smaller segments instead of all at once, so you can take part of a predicted block without committing to the whole thing.

#Icon Composer for Liquid Glass app icons

Icon Composer is a new standalone app bundled with Xcode 26 for building layered app icons that support the Liquid Glass rendering style introduced across iOS, macOS, and watchOS this cycle. You design layers once, with light/dark and specular previews in the tool, then export the variants each platform needs instead of hand-producing per-platform icon assets. It's a design tool, not something you touch from Swift — the payoff is one source file instead of a differently shaped icon catalog per platform.

#Instruments overhaul: Power Profiler, SwiftUI Instrument, CPU Counters

Instruments picked up three tools worth knowing about. Power Profiler breaks down energy and thermal impact by CPU, GPU, display, and network, so you can see what's actually draining the battery instead of guessing. A new SwiftUI Instrument visualizes cause-and-effect for state changes — which mutation triggered which view update — instead of you inferring it from print statements. CPU Counters, paired with processor trace, surface hardware-level stalls that a wall-clock time profile won't show.

Reach for Power Profiler when a battery complaint has no obvious cause, and the SwiftUI Instrument when a view re-renders more than expected and reading the body isn't telling you why.

#UI test recording and hitch metrics

XCUITest gets a "Start Recording" button in the editor gutter next to a test method — record interactions in the simulator or on a device and Xcode generates the corresponding Swift test code, instead of you writing app.buttons["..."].tap() calls by hand. Separately, a new hitch metric lets UI tests measure dropped-frame rate during scrolling and animations directly, so a regression in scroll smoothness shows up as a numeric test failure instead of something QA has to eyeball.

#What to adopt first

  • Explicit modules cost nothing — you get them by upgrading. Run a clean CI build early to catch any module setup that depended on the old lazy-discovery behavior.
  • Wire up ChatGPT or your own Claude key in the Intelligence settings if your team hasn't already — it's a settings change, not a code change, so there's no reason to wait.
  • If you carry battery or scroll-performance complaints, give Power Profiler and the hitch metric a session before reaching for manual instrumentation.
  • Icon Composer is worth adopting the next time your design team is already touching the app icon — don't redo icons you're not otherwise revisiting just to use the new tool.