Guides
How to notarise macOS apps in CI
Notarisation is slow and occasionally times out.
5 min read
Notarisation is slow and occasionally times out.
Why it happens
It is a network round-trip to Apple that can take several minutes and is outside your control.
How to fix it
- Use notarytool with an App Store Connect API key rather than an Apple ID
- Run notarisation in its own job so it does not block test feedback
- Staple the ticket after notarisation completes
- Set a generous timeout — Apple's turnaround varies
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.Fixing macOS runner disk exhaustionJobs fail with no space left on device on macOS.