export_archive
Export an Xcode archive for App Store, Ad Hoc, Enterprise, or Development distribution. Specify archive path, export directory, and signing options to generate an IPA.
Instructions
Export an Xcode archive for distribution (App Store, Ad Hoc, Enterprise, Development)
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": {
"archivePath": "<archivePath>",
"exportPath": "<exportPath>",
"method": "<method>"
},
"name": "export_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | Distribution method | |
| teamId | No | Team ID for code signing. If not provided, will try to use the default team. | |
| exportPath | Yes | Directory where exported IPA and other files will be placed | |
| archivePath | Yes | Path to the .xcarchive file to export | |
| compileBitcode | No | Whether to compile Bitcode. Default is true for App Store, false otherwise. | |
| stripSwiftSymbols | No | Whether to strip Swift symbols. Default is true. | |
| signingCertificate | No | Signing certificate to use. If not provided, will try to use the default certificate for the selected method. | |
| provisioningProfiles | No | Dictionary mapping bundle identifiers to provisioning profile names. |