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.
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 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"configuration": {
"description": "Build configuration (Debug, Release, etc.)",
"type": "string"
},
"derivedDataPath": {
"description": "Path where build products and other derived data will go",
"type": "string"
},
"extraArgs": {
"description": "Additional xcodebuild arguments",
"items": {
"type": "string"
},
"type": "array"
},
"preferXcodebuild": {
"description": "If true, prefers xcodebuild over the experimental incremental build system",
"type": "boolean"
},
"projectPath": {
"description": "Path to the .xcodeproj file",
"type": "string"
},
"scheme": {
"description": "The scheme to use",
"type": "string"
}
},
"required": [
"projectPath",
"scheme"
],
"type": "object"
}