Skip to main content
Glama

XcodeBuildMCP

test_sim_name_ws

Execute tests on a specified simulator for an Xcode workspace using xcodebuild, parse xcresult output, and manage build configurations and data paths.

Instructions

Runs tests for a workspace on a simulator by name using xcodebuild test and parses xcresult output.

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)
simulatorNameYesName of the simulator to use (e.g., 'iPhone 16') (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" }, "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" }
Install Server

Other Tools from XcodeBuildMCP

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cameroncooke/XcodeBuildMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server