Guides
How to upload to TestFlight from CI
TestFlight uploads are slow and sometimes fail after a successful build.
4 min read
TestFlight uploads are slow and sometimes fail after a successful build.
Why it happens
Upload is network-bound and App Store Connect rate-limits and occasionally rejects.
How to fix it
- Upload in a separate job so a failure does not require rebuilding
- Use an App Store Connect API key rather than an Apple ID with 2FA
- Retry the upload step specifically, not the whole pipeline
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.