test_sim
Run iOS tests on a simulator. Execute XCTest suites with prepared .xctestrun or .xctestproducts files, custom arguments, and environment variables.
Instructions
[XcodeBuildMCP] Test on iOS sim.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "test_sim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| progress | No | Show detailed test progress output (MCP defaults to true, CLI defaults to false) | |
| extraArgs | No | ||
| testRunnerEnv | No | Environment variables to pass to the test runner (TEST_RUNNER_ prefix added automatically) | |
| xctestrunPath | No | Path to a prepared .xctestrun file. Cannot be combined with source inputs | |
| testProductsPath | No | Path to a prepared .xctestproducts package. Cannot be combined with source inputs |