Faster Builds With Xcode Compilation Cache
summary
Explains how Xcode 26 adds a compilation cache backed by LLVM CAS that keys compiler inputs by content so the front end can skip work; clean local builds on a sample app drop from 15s → 8s after priming. Shows how to enable the build setting (compilation caching), where cache files live (compilation cache.noindex), and how Xcode’s gRPC plugin can proxy to a remote server or use Twist for shared CI caching. Notes limits: no Swift packages, no non-code resources, no release-optimized outputs.
AI-written summary · about
chapters (14)
- 0:00Introduction and setup
- 0:46Why compilation cache exists
- 2:36How Xcode builds work
- 7:59Incremental compilation limits
- 10:25Problem with switching branches
- 12:31What is compilation cache
- 13:57Turning on compilation cache
- 14:18Content-addressable storage explained
- 16:42How cache integrates with builds
- 18:48Local build performance gains
- 19:28Remote build caching setup
- 21:37Using Twist for remote caching
- 22:19Cache limitations and future
- 23:44Summary of benefits
related talks
31mExploring Build Caching - A Practical Overview
37mCache once and use everywhere
43mBuilding iOS Apps without Xcode
39mScaling iOS DevX with Tuist
56mPractical Techniques for Improving C++ Build Times
06mLightning Talk: Remote Execution Caching Compiler (RECC) for C++ Builds
19mCOMPILING...? HOW TO REDUCE YOUR WAIT TIMES AND "GET BACK TO WORK"
19mGetting to a green build with caching on CI
