build_run_mac_proj
Automate building and running macOS apps by specifying a project file and scheme, configuring architecture, build settings, and derived data paths.
Instructions
Builds and runs a macOS app from a project file in one step.
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": "build_run_mac_proj"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arch | No | Architecture to build for (arm64 or x86_64). For macOS only. | |
| 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 |