test_macos_proj
Execute tests for macOS projects using xcodebuild, parse xcresult output, and manage build configurations with XcodeBuildMCP server integration.
Instructions
Runs tests for a macOS project using xcodebuild test and parses xcresult output.
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": {
"projectPath": "<projectPath>",
"scheme": "<scheme>"
},
"name": "test_macos_proj"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| configuration | No | Build configuration (Debug, Release, etc.) | |
| derivedDataPath | No | Path where build products and other derived data will go | |
| extraArgs | No | Additional xcodebuild arguments | |
| preferXcodebuild | No | If true, prefers xcodebuild over the experimental incremental build system | |
| projectPath | Yes | Path to the .xcodeproj file | |
| scheme | Yes | The scheme to use |