~/talk

Faster Builds With Xcode Compilation Cache

Talkat Swift Rockies 2026 · 2026-07-22..07-23· [developer-experience, ios]
links:none on file
slides:none on file

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

  1. 0:00Introduction and setup
  2. 0:46Why compilation cache exists
  3. 2:36How Xcode builds work
  4. 7:59Incremental compilation limits
  5. 10:25Problem with switching branches
  6. 12:31What is compilation cache
  7. 13:57Turning on compilation cache
  8. 14:18Content-addressable storage explained
  9. 16:42How cache integrates with builds
  10. 18:48Local build performance gains
  11. 19:28Remote build caching setup
  12. 21:37Using Twist for remote caching
  13. 22:19Cache limitations and future
  14. 23:44Summary of benefits
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.