Swiggy Jun 7, 2022

Advanced Techniques to Speed Up Compile Time in Xcode

Article Summary

Swiggy's iOS team was watching Xcode compile for minutes after single-line changes. They cut that time by 75%.

Kumar Reddy from Swiggy breaks down the Xcode build system from preprocessor to loader, then shares two phases of optimization: one-time build settings and ongoing dependency management. This isn't theory: it's battle-tested techniques from a production app.

Key Takeaways

Critical Insight

Swiggy reduced clean build time from 300 to 250 seconds and incremental builds by up to 75% through build settings optimization and restructuring Swift dependency graphs.

The article reveals three compiler rules that explain why your incremental builds are slower than they should be.

Recent from Swiggy

Related Articles