Prepare an iOS simulator target
qa_prepare_ios_targetBoot, install, launch, and verify an iOS Simulator .app, then report whether WDA automation or visual-only mode is available; .ipa files are rejected.
Instructions
Prepare an iOS Simulator: boot, install a simulator .app (consent-gated), launch, verify, and report whether WDA structured automation or visual-only mode is available. .ipa files are refused.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>"
},
"name": "qa_prepare_ios_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Simulator .app path (absolute or project-relative). | |
| device | No | Simulator UDID or exact name (ignoring case). | |
| launch | No | ||
| approve | No | ||
| bundleId | No | ||
| attachWda | No | auto (default): attach WDA if reachable, else visual-only; required: fail if it cannot attach; skip: visual-only. | |
| consentId | No | ||
| sessionId | Yes | ||
| allowLaunchWithoutMetro | No | Launch a debug RN/Expo .app (no embedded main.jsbundle) without a serving Metro (it will RedBox). |