| name | ios-simulator-ci |
| description | Add or run iOS simulator build, unit test, and UI smoke automation. |
iOS Simulator CI
Use this skill for iOS simulator automation.
Requirements
- Project or workspace path.
- App scheme.
- Test target or test plan.
- Simulator destination.
- Result bundle path.
Pattern
- Generate the Xcode project if the repo uses XcodeGen.
- Resolve or boot the simulator through normal Xcode tooling.
- Build the app for simulator.
- Run unit tests with a result bundle.
- Run UI smoke with a separate result bundle when possible.
- Upload bundles and screenshots only when useful.
Verification
Parse or inspect xcresult output. If UI smoke passes, still check that the expected test target actually ran.
Use python3 scripts/aak.py assert-xcresult --path <bundle> --expect-test <test> --require-success --json when a result bundle is available. The proof should fail if the expected UI smoke test is absent, even when xcodebuild exits successfully.