Guides
Fixing macOS runner disk exhaustion
Jobs fail with no space left on device on macOS.
4 min read
Jobs fail with no space left on device on macOS.
Why it happens
Xcode, simulators, DerivedData and CocoaPods together consume a lot, and runners have finite disk.
How to fix it
- Delete unused simulator runtimes at job start
- Clear DerivedData for schemes you are not building
- Use a larger macOS runner size where available
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.