xcode_test_without_building
Run tests on pre-built code without recompiling, using a specified scheme and destination to execute only selected test targets.
Instructions
Run tests on previously built code without rebuilding
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>",
"destination": "<destination>"
},
"name": "xcode_test_without_building"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | Yes | Build scheme name | |
| testPlan | No | Test plan name | |
| destination | Yes | Test destination | |
| onlyTesting | No | Run only these test targets | |
| projectPath | No | When omitted, xcodebuild runs in the MCP server process's working directory (usually not the project directory); passing projectPath explicitly is recommended | |
| skipTesting | No | Skip these test targets | |
| timeoutSeconds | No | Command timeout in seconds (default: 600) |