IDN Media Bevan Christian Aug 15, 2023

Improving iOS CI/CD Performance: Migrating from Azure to Codemagic

M2 Related OWASP risk: Inadequate Supply Chain Security Learn more →

Article Summary

Bevan Christian from IDN Engineering cut iOS CI/CD time by 76.85% with one platform switch. Here's how a simple migration delivered results most teams only dream about.

IDN Engineering's iOS team was drowning in 80-90 minute build cycles on Azure, killing development velocity. They migrated to Codemagic's M1-powered infrastructure and documented the entire journey—from the pain points to the exact YAML configurations that made it work.

Key Takeaways

Critical Insight

Switching from Azure to Codemagic's M1 instances delivered a 76.85% improvement in iOS CI/CD performance, slashing build times from 80-90 minutes to 25 minutes.

The article includes production-ready YAML configs and Fastfile snippets you can adapt today, plus insights on certificate management that most migration guides skip.

About This Article

Problem

IDN Engineering's iOS CI process was slow. Builds, tests, and coverage took 40-50 minutes, then CD added another 40 minutes on top. This bottleneck held back development velocity, even after they made some temporary fixes.

Solution

Bevan Christian's team switched to Codemagic and used the mac_mini_m1 instance type. They set up automated CocoaPods caching, ran 4 concurrent test workers, and configured Firebase App Distribution publishing through YAML.

Impact

Total build time fell to 25 minutes. The pipeline now generates release notes automatically from git commits, handles auto-versioning with agvtool, and manages provisioning profiles. Ad-hoc distribution became straightforward.