build_run_mac_proj
Build and run macOS apps directly from .xcodeproj files using specified schemes and configurations, with optional custom paths and xcodebuild arguments. Simplifies the development workflow on the sl-test MCP server.
Instructions
Builds and runs a macOS app from a project file in one step.
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, useful for when incremental build system fails. | |
projectPath | Yes | Path to the .xcodeproj file (Required) | |
scheme | Yes | The scheme to use (Required) |
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, useful for when incremental build system fails.",
"type": "boolean"
},
"projectPath": {
"description": "Path to the .xcodeproj file (Required)",
"type": "string"
},
"scheme": {
"description": "The scheme to use (Required)",
"type": "string"
}
},
"required": [
"projectPath",
"scheme"
],
"type": "object"
}