XcodeBuildMCP

by cameroncooke

build_ios_sim_name_proj

Builds an iOS app for a specific simulator by using the provided project path, scheme, and simulator name. Simplifies targeting and testing on designated iOS simulators directly from the command line.

Instructions

Builds an iOS app from a project file for a specific simulator by name. IMPORTANT: Requires projectPath, scheme, and simulatorName. Example: build_ios_sim_name_proj({ projectPath: '/path/to/MyProject.xcodeproj', scheme: 'MyScheme', simulatorName: 'iPhone 16' })

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.
projectPathYesPath to the .xcodeproj file (Required)
schemeYesThe scheme to use (Required)
simulatorNameYesName of the simulator to use (e.g., 'iPhone 16') (Required)
useLatestOSNoWhether 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" }, "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" } }, "required": [ "projectPath", "scheme", "simulatorName" ], "type": "object" }
ID: 80c3zmerx6