What’s new with the xcode build system?

Asked on 06/16/2025

1 search

In the latest updates to the Xcode build system, several enhancements have been introduced to improve build efficiency and reliability. One of the key features is the introduction of explicitly built modules, which are now enabled by default for C and Objective-C code, and for Swift code in Xcode 26. This feature splits the processing of each compilation unit into three phases: scanning, building modules, and finally building the original source code. This separation allows for better control of module build tasks, optimizing the build pipeline and improving parallelism, diagnostics, and debugging speed.

Additionally, Apple has open-sourced Swift Build, a powerful and extensible build engine used by Xcode and Swift Playgrounds, and is working to incorporate it into the Swift Package Manager to unify the build experience across Swift Open Source Toolchains and Xcode. This new implementation supports all platforms in the Swift ecosystem, including Linux, Windows, and Android.

For more detailed information, you can refer to the session What’s new in Xcode (27:50) and Demystify explicitly built modules (08:37).

What’s new with the xcode build system? | Ask WWDC