build_dev_ws
Compile apps for physical Apple devices by specifying workspace path and scheme. Supports build configurations, derived data paths, and custom xcodebuild arguments.
Instructions
Builds an app from a workspace for a physical Apple device. IMPORTANT: Requires workspacePath and scheme. Example: build_dev_ws({ workspacePath: '/path/to/MyProject.xcworkspace', scheme: 'MyScheme' })
Input Schema
Name | Required | Description | Default |
---|---|---|---|
configuration | No | Build configuration (Debug, Release) | |
derivedDataPath | No | Path to derived data directory | |
extraArgs | No | Additional arguments to pass to xcodebuild | |
preferXcodebuild | No | Prefer xcodebuild over faster alternatives | |
scheme | Yes | The scheme to build | |
workspacePath | Yes | Path to the .xcworkspace file |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"configuration": {
"description": "Build configuration (Debug, Release)",
"type": "string"
},
"derivedDataPath": {
"description": "Path to derived data directory",
"type": "string"
},
"extraArgs": {
"description": "Additional arguments to pass to xcodebuild",
"items": {
"type": "string"
},
"type": "array"
},
"preferXcodebuild": {
"description": "Prefer xcodebuild over faster alternatives",
"type": "boolean"
},
"scheme": {
"description": "The scheme to build",
"type": "string"
},
"workspacePath": {
"description": "Path to the .xcworkspace file",
"type": "string"
}
},
"required": [
"workspacePath",
"scheme"
],
"type": "object"
}