# iOS Build & Simulator Error Reference

Automated iOS builds and parallel coding agents fail in predictable ways when Xcode, CoreSimulator, macOS Keychain, and App Store Connect interact outside an interactive GUI session. Each guide below gives the exact root cause, copy-paste diagnostic commands, and how the XCLoom CLI prevents the error from recurring.

## Troubleshooting Directory

- [Xcode DerivedData Locks in Git Worktrees](/errors/xcodebuild-deriveddata-lock-worktree/): Resolve `build.db` contention, `32–233s` serialized rebuild queues, and cold worktree cache misses.
- [iOS Simulator OOM Under Parallel Agents](/errors/ios-simulator-oom-parallel-agents/): Diagnose `CoreSimulator` boot storms, host memory exhaustion, and orphaned simulator processes.
- [macOS Keychain Prompts Hanging codesign](/errors/codesign-keychain-popup-ci/): Fix unattended SSH, CI, and agent signing hangs and `errSecInternalComponent` or `errSecInteractionNotAllowed` failures.
- [ITMS-90046 & Late TestFlight Rejections](/errors/itms-90046-and-app-store-preflight/): Catch `ITMS-90046`, `ITMS-90035`, `ITMS-90059`, `ITMS-90208`, `ITMS-91053`/`ITMS-91056`, and Guideline 2.5.2 errors offline before upload.

For measured build, simulator, signing, and upload numbers across production and open-source repositories, see [/benchmarks/](/benchmarks/).
