Build Export IPA
build_export_ipaExport an .xcarchive to an .ipa via xcodebuild -exportArchive and ExportOptions.plist. Use after archiving to create a distributable iOS app.
Instructions
Run xcodebuild -exportArchive to turn a .xcarchive into an .ipa.
Use when: after build_archive with an ExportOptions.plist. For the whole flow use testflight_ship. Returns: {ok, exit_code, stdout, stderr} from xcodebuild.
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": {
"archive_path": "<archive_path>",
"export_dir": "<export_dir>",
"export_options_plist": "<export_options_plist>"
},
"name": "build_export_ipa"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| export_dir | Yes | Directory to write the exported .ipa into. | |
| archive_path | Yes | Path to the .xcarchive, e.g. build/App.xcarchive. | |
| export_options_plist | Yes | Path to the ExportOptions.plist for xcodebuild -exportArchive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||