build_run_mac_ws
Automates building and running macOS apps from Xcode workspaces by specifying workspace path, scheme, configuration, and architecture. Optimizes with derived data path and additional build arguments.
Instructions
Builds and runs a macOS app from a workspace in one step.
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. | |
scheme | Yes | The scheme to use (Required) | |
workspacePath | Yes | Path to the .xcworkspace file (Required) |