xcode_build
Automate Xcode project or workspace builds by specifying the scheme and optional destination. Simplifies build processes and extracts errors or warnings from logs.
Instructions
Build a specific Xcode project or workspace with the specified scheme. If destination is not provided, uses the currently active destination.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
destination | No | Build destination (optional - uses active destination if not provided) | |
scheme | Yes | Name of the scheme to build | |
xcodeproj | Yes | Path to the .xcodeproj file to build (or .xcworkspace if available) - supports both absolute (/path/to/project.xcodeproj) and relative (MyApp.xcodeproj) paths |
Input Schema (JSON Schema)
{
"properties": {
"destination": {
"description": "Build destination (optional - uses active destination if not provided)",
"type": "string"
},
"scheme": {
"description": "Name of the scheme to build",
"type": "string"
},
"xcodeproj": {
"description": "Path to the .xcodeproj file to build (or .xcworkspace if available) - supports both absolute (/path/to/project.xcodeproj) and relative (MyApp.xcodeproj) paths",
"type": "string"
}
},
"required": [
"xcodeproj",
"scheme"
],
"type": "object"
}