build_sim_id_proj
Build an app from a project file for a specific simulator by UUID using projectPath, scheme, and simulatorId. Supports build configuration, derived data path, and additional xcodebuild arguments.
Instructions
Builds an app from a project file for a specific simulator by UUID. IMPORTANT: Requires projectPath, scheme, and simulatorId. Example: build_sim_id_proj({ projectPath: '/path/to/MyProject.xcodeproj', scheme: 'MyScheme', simulatorId: 'SIMULATOR_UUID' })
Input Schema
Name | Required | Description | Default |
---|---|---|---|
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) | |
simulatorId | Yes | UUID of the simulator to use (obtained from listSimulators) (Required) | |
simulatorName | No | Name of the simulator (optional) | |
useLatestOS | No | Whether to use the latest OS version for the named simulator |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"configuration": {
"description": "Build configuration (Debug, Release, etc.)",
"type": "string"
},
"derivedDataPath": {
"description": "Path where build products and other derived data will go",
"type": "string"
},
"extraArgs": {
"description": "Additional xcodebuild arguments",
"items": {
"type": "string"
},
"type": "array"
},
"preferXcodebuild": {
"description": "If true, prefers xcodebuild over the experimental incremental build system, useful for when incremental build system fails.",
"type": "boolean"
},
"projectPath": {
"description": "Path to the .xcodeproj file (Required)",
"type": "string"
},
"scheme": {
"description": "The scheme to use (Required)",
"type": "string"
},
"simulatorId": {
"description": "UUID of the simulator to use (obtained from listSimulators) (Required)",
"type": "string"
},
"simulatorName": {
"description": "Name of the simulator (optional)",
"type": "string"
},
"useLatestOS": {
"description": "Whether to use the latest OS version for the named simulator",
"type": "boolean"
}
},
"required": [
"projectPath",
"scheme",
"simulatorId"
],
"type": "object"
}