xcode_archive
Create a distributable Xcode archive by specifying the build scheme and output archive path.
Instructions
Create an Xcode archive for distribution
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": {
"scheme": "<scheme>",
"archivePath": "<archivePath>"
},
"name": "xcode_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | Yes | Build scheme name | |
| archivePath | Yes | Output path for the .xcarchive; absolute path required | |
| projectPath | No | When omitted, xcodebuild runs in the MCP server process's working directory (usually not the project directory); passing projectPath explicitly is recommended | |
| configuration | No | Build configuration (default: "Release") | |
| timeoutSeconds | No | Command timeout in seconds (default: 600) |