XcodeBuildMCP

by cameroncooke

build_ios_sim_id_ws

Generate and build an iOS app for a specific simulator using a workspace path, scheme, and simulator UUID on the XcodeBuildMCP server.

Instructions

Builds an iOS app from a workspace for a specific simulator by UUID. IMPORTANT: Requires workspacePath, scheme, and simulatorId. Example: build_ios_sim_id_ws({ workspacePath: '/path/to/MyProject.xcworkspace', scheme: 'MyScheme', simulatorId: 'SIMULATOR_UUID' })

Input Schema

NameRequiredDescriptionDefault
configurationNoBuild configuration (Debug, Release, etc.)
derivedDataPathNoPath where build products and other derived data will go
extraArgsNoAdditional xcodebuild arguments
preferXcodebuildNoIf true, prefers xcodebuild over the experimental incremental build system, useful for when incremental build system fails.
schemeYesThe scheme to use (Required)
simulatorIdYesUUID of the simulator to use (obtained from listSimulators) (Required)
useLatestOSNoWhether to use the latest OS version for the named simulator
workspacePathYesPath 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" }, "simulatorId": { "description": "UUID of the simulator to use (obtained from listSimulators) (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", "simulatorId" ], "type": "object" }
ID: 80c3zmerx6