xcode_build
Build an Xcode project or workspace by specifying a scheme and optional configuration, destination, SDK, and build arguments to compile and link the code.
Instructions
Build an Xcode project or workspace with the specified scheme and configuration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sdk | No | SDK to build with (e.g., "iphonesimulator", "iphoneos") | |
| scheme | Yes | Build scheme name | |
| extraArgs | No | Additional xcodebuild arguments | |
| destination | No | Build destination (e.g., "platform=iOS Simulator,name=iPhone 16,OS=latest") | |
| projectPath | No | When omitted, xcodebuild runs in the MCP server process's working directory (usually not the project directory); passing projectPath explicitly is recommended | |
| configuration | No | Build configuration (e.g., "Debug", "Release") | |
| timeoutSeconds | No | Command timeout in seconds (default: 600) | |
| derivedDataPath | No | Custom derived data path |