ios_create_ipa
Package a signed iOS .app into an .ipa on a remote Mac using a certificate and provisioning profile, with support for ad-hoc or App Store distribution.
Instructions
Package a signed .app into an .ipa on the remote Mac (paclient -i).
The .app must be codesigned first (ios_codesign). The provisioning profile must exist on the Mac and match the cert + bundle ID. IPA assembly runs entirely on the Mac via xcrun.
Args: profile: Connection Profile name. app_path: Remote path to the signed .app. out_path: Remote path where the .ipa should be written. certificate: Same identity used for codesign. provisioning_profile: Remote path to a .mobileprovision file. ipa_type: 1 = ad-hoc / dev distribution, 2 = App Store. Default 1. timeout: Seconds before killed (default 600). studio_root: Optional Studio install root.
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": {
"profile": "<profile>",
"app_path": "<app_path>",
"out_path": "<out_path>",
"certificate": "<certificate>",
"provisioning_profile": "<provisioning_profile>"
},
"name": "ios_create_ipa"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | ||
| timeout | No | ||
| app_path | Yes | ||
| ipa_type | No | ||
| out_path | Yes | ||
| certificate | Yes | ||
| studio_root | No | ||
| provisioning_profile | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |