build
Build Xcode projects using xcodebuild with options for target, scheme, configuration, and destination to compile iOS/macOS applications.
Instructions
Build an Xcode project using xcodebuild. Can specify target, scheme, configuration, and destination.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the .xcodeproj directory | |
| scheme | No | Scheme to build (optional if target is specified) | |
| target | No | Target to build (optional if scheme is specified) | |
| configuration | No | Build configuration (Debug or Release). Defaults to Debug. | |
| destination | No | Build destination, e.g., "platform=iOS Simulator,name=iPhone 15" | |
| clean | No | Clean before building |