SwiftLee Mar 30, 2026

Xcode Build Optimization using 6 Agent Skills

Article Summary

Antoine van der Lee just open-sourced an AI agent skill that saved one iOS team 87% on incremental build times. That's 61 seconds per build, translating to 5 hours saved monthly at just 10 builds per day.

Van der Lee spent weeks developing an orchestrator-based AI agent system that analyzes Xcode projects against 40+ optimization checks. The tool benchmarks your builds, generates a detailed improvement plan, and can automatically apply changes using best practices across build settings, code complexity, and package dependencies.

Key Takeaways

Critical Insight

Early results show 12-32% faster incremental builds and up to 20% faster clean builds, with one project saving 20 seconds per build.

The article reveals why some clean builds actually get slower after optimization (and why that's a good sign).

About This Article

Problem

Xcode builds slow down iOS developers' work. Antoine van der Lee found that new Xcode versions include build settings like compilation caching, but they're off by default. Developers have to turn them on manually.

Solution

Van der Lee built an open-source Agent Skill system with an orchestrator. It walks developers through benchmarking their builds, checks their project configuration against 40+ criteria, and creates a detailed plan before making any changes.

Impact

Stock Analyzer saw clean builds drop from 41.5s to 33.2s (20% faster) and incremental builds drop from 5.3s to 3.6s (32% faster). Enchanted improved clean builds by 14% and incremental builds by 12%.