Guides
How to parallelise iOS CI
iOS CI is serial and macOS minutes are expensive.
5 min read
iOS CI is serial and macOS minutes are expensive.
Why it happens
Build and test run in one long job on one machine.
How to fix it
- Build once, then run test shards against the built product
- Run several simulators on one large runner rather than several small runners
- Move any non-Xcode work to Linux
Your next build could be twice as fast, at half the price
Start free. Migrating away is the same one line, and we publish that diff too.
Related
How to cut Xcode build times in CIXcode builds take twenty minutes on every run.How to speed up iOS simulator testsSimulator tests take half an hour.How to handle iOS code signing in CISigning works locally and fails intermittently in CI.How to notarise macOS apps in CINotarisation is slow and occasionally times out.