build_dev_proj
Compiles an app for physical Apple devices from a specified project file. Input the project path and scheme to initiate the build process. Supports additional configurations and arguments for xcodebuild.
Instructions
Builds an app from a project file for a physical Apple device. IMPORTANT: Requires projectPath and scheme. Example: build_dev_proj({ projectPath: '/path/to/MyProject.xcodeproj', 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 | |
projectPath | Yes | Path to the .xcodeproj file | |
scheme | Yes | The scheme to build |
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"
},
"projectPath": {
"description": "Path to the .xcodeproj file",
"type": "string"
},
"scheme": {
"description": "The scheme to build",
"type": "string"
}
},
"required": [
"projectPath",
"scheme"
],
"type": "object"
}