build_mac_proj
Automate macOS app builds by specifying project paths, schemes, and configurations using xcodebuild. Supports custom architectures, derived data paths, and additional arguments for tailored builds.
Instructions
Builds a macOS app using xcodebuild from a project file.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
arch | No | Architecture to build for (arm64 or x86_64). For macOS only. | |
configuration | No | Build configuration (Debug, Release, etc.) | |
derivedDataPath | No | Path where build products and other derived data will go | |
extraArgs | No | Additional xcodebuild arguments | |
preferXcodebuild | No | If true, prefers xcodebuild over the experimental incremental build system, useful for when incremental build system fails. | |
projectPath | Yes | Path to the .xcodeproj file (Required) | |
scheme | Yes | The scheme to use (Required) |