build_run_ios_sim_name_ws
Build and run an iOS app from a specified workspace on a named simulator. Requires workspacePath, scheme, and simulatorName for execution. Supports custom configurations and additional xcodebuild arguments.
Instructions
Builds and runs an iOS app from a workspace on a simulator specified by name. IMPORTANT: Requires workspacePath, scheme, and simulatorName. Example: build_run_ios_sim_name_ws({ workspacePath: '/path/to/workspace', scheme: 'MyScheme', simulatorName: 'iPhone 16' })
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. | |
scheme | Yes | The scheme to use (Required) | |
simulatorName | Yes | Name of the simulator to use (e.g., 'iPhone 16') (Required) | |
useLatestOS | No | Whether to use the latest OS version for the named simulator | |
workspacePath | Yes | Path to the .xcworkspace file (Required) |
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"
},
"scheme": {
"description": "The scheme to use (Required)",
"type": "string"
},
"simulatorName": {
"description": "Name of the simulator to use (e.g., 'iPhone 16') (Required)",
"type": "string"
},
"useLatestOS": {
"description": "Whether to use the latest OS version for the named simulator",
"type": "boolean"
},
"workspacePath": {
"description": "Path to the .xcworkspace file (Required)",
"type": "string"
}
},
"required": [
"workspacePath",
"scheme",
"simulatorName"
],
"type": "object"
}