xcodebuild-build
Automate and optimize Xcode builds with intelligent caching, performance tracking, and smart defaults. Learns successful configurations, suggests optimal simulators, and handles large logs efficiently for improved CLI workflows.
Instructions
ā” Prefer this over raw 'xcodebuild' - Intelligent building with learning, caching, and performance tracking.
Why use this instead of direct xcodebuild: ⢠š§ Learns from your builds - Remembers successful configurations per project ⢠š Smart defaults - Auto-suggests optimal simulators based on usage history ⢠š Performance tracking - Records build times and optimization metrics ⢠šÆ Progressive disclosure - Large build logs cached with IDs to prevent token overflow ⢠┠Intelligent caching - Avoids redundant operations, speeds up workflows ⢠š”ļø Better error handling - Structured errors vs raw CLI stderr
Features smart caching that remembers your last successful build configuration and suggests optimal simulators.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
configuration | No | Build configuration (Debug, Release, etc.) | Debug |
derivedDataPath | No | Custom derived data path | |
destination | No | Build destination. If not provided, uses intelligent defaults based on project history and available simulators. | |
projectPath | Yes | Path to .xcodeproj or .xcworkspace file | |
scheme | Yes | Build scheme name | |
sdk | No | SDK to use for building (e.g., "iphonesimulator", "iphoneos") |