Guides
How to speed up iOS simulator tests
Simulator tests take half an hour.
6 min read
Simulator tests take half an hour.
Why it happens
Simulators boot cold, runtimes download at job time, and tests run serially on one device.
How to fix it
- Pin to a preinstalled simulator runtime so nothing downloads
- Pre-boot the simulator before the test step
- Run parallel destinations on one large runner rather than several small ones
- Shard by test class with historical timings
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 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.Fixing macOS runner disk exhaustionJobs fail with no space left on device on macOS.