get_sim_app_path_name_ws
Retrieve the app bundle path for a named simulator by specifying workspace, scheme, platform, and simulator details, enabling precise app location identification in XcodeBuildMCP.
Instructions
Gets the app bundle path for a simulator by name using a workspace. IMPORTANT: Requires workspacePath, scheme, platform, and simulatorName. Example: get_sim_app_path_name_ws({ workspacePath: '/path/to/workspace', scheme: 'MyScheme', platform: 'iOS Simulator', simulatorName: 'iPhone 16' })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arch | No | Optional architecture | |
| configuration | No | Build configuration (Debug, Release, etc.) | |
| platform | Yes | Target simulator platform (Required) | |
| projectPath | No | Optional project path (for fallback) | |
| scheme | Yes | The scheme to use (Required) | |
| simulatorId | No | Optional simulator UUID | |
| 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": {
"arch": {
"description": "Optional architecture",
"type": "string"
},
"configuration": {
"description": "Build configuration (Debug, Release, etc.)",
"type": "string"
},
"platform": {
"description": "Target simulator platform (Required)",
"enum": [
"iOS Simulator",
"watchOS Simulator",
"tvOS Simulator",
"visionOS Simulator"
],
"type": "string"
},
"projectPath": {
"description": "Optional project path (for fallback)",
"type": "string"
},
"scheme": {
"description": "The scheme to use (Required)",
"type": "string"
},
"simulatorId": {
"description": "Optional simulator UUID",
"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",
"platform",
"simulatorName"
],
"type": "object"
}