xcode_build
Build Xcode projects with structured diagnostics showing exact file paths, line numbers, and severity for each build error and warning.
Instructions
Build an Xcode project or workspace. Returns structured diagnostics with file, line, column, severity, and message for each error/warning.
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": {
"project_path": "<project_path>"
},
"name": "xcode_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| configuration | No | Build configuration (Debug or Release). Default: Debug | |
| destination | No | Build destination. Default: booted iOS Simulator | |
| project_path | Yes | Path to the Xcode project directory, .xcodeproj, or .xcworkspace | |
| scheme | No | Build scheme name. Auto-detected if omitted. |