CICD-476 · iOS simulator testing
Encyclopedia · Mobile, desktop and binary distribution · All snippets
Previous · CICD-475 · Next · CICD-477
1. Where it fits
- Placement CI run step or authorized lab terminal.
- Prerequisites approved toolchains and isolated build/signing runner when credentials are required.
- Platforms local-linux, github-actions, gitea-actions.
- Parameters
SIMULATOR_UDID.
2. Copy the snippet
bash
xcodebuild -scheme App -destination "platform=iOS Simulator,id=${SIMULATOR_UDID:?}" -resultBundlePath result.xcresult test3. How it works
The destination selects the installed simulator by UDID. The result bundle records test outcomes and diagnostics for CI to collect.
4. Verify the result
Provision an installed simulator runtime, select its UDID, and archive the result bundle.
Validation syntax-validated (Bash parse). Status definitions.