appium_prepare_ios_real_device
Prepare an iOS real device for Appium testing: list provisioning profiles, then download and resign WebDriverAgent with the chosen profile, returning a capabilities hint for session creation.
Instructions
Prepare an iOS real device for Appium testing in a single call. Two-mode flow: (1) Call without provisioningProfileUuid to receive the list of available .mobileprovision profiles — present them to the user (highlight any with recommendedForWda=true) and ask them to pick one. (2) Call again with the chosen UUID to download the matching WebDriverAgent release, package it as an IPA, and resign it with the chosen profile (wildcard "*" profiles are supported — a concrete WDA bundle ID is substituted at sign time). WDA download and unsigned IPA are cached per WDA version; the signed IPA is rebuilt every call. Pass the returned capabilitiesHint to appium_session_management (action=create) so Appium installs and launches the signed prebuilt WDA instead of rebuilding. Requires macOS, Xcode 16+, and a paired developer-mode device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | UDID of the connected iOS real device. Use select_device to discover it. | |
| forceRebuild | No | If true, ignore the cached WDA download and unsigned IPA and start clean. The signed IPA is always rebuilt regardless. Default: false. | |
| provisioningProfileUuid | No | UUID of the .mobileprovision profile to sign WDA with. If omitted, the tool returns the list of available profiles so you can ask the user to pick one. |