Skip to main content
Glama

test_device_ws

Executes tests on Apple devices (iPhone, iPad, Apple Watch, Apple TV, Apple Vision Pro) using xcodebuild, parses xcresult output, and requires workspacePath, scheme, and deviceId for integration.

Instructions

Runs tests for an Apple workspace on a physical device (iPhone, iPad, Apple Watch, Apple TV, Apple Vision Pro) using xcodebuild test and parses xcresult output. IMPORTANT: Requires workspacePath, scheme, and deviceId.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
configurationNoBuild configuration (Debug, Release, etc.)
derivedDataPathNoPath where build products and other derived data will go
deviceIdYesUDID of the device (obtained from list_devices)
extraArgsNoAdditional xcodebuild arguments
platformNoTarget platform (defaults to iOS)
preferXcodebuildNoIf true, prefers xcodebuild over the experimental incremental build system
schemeYesThe scheme to use (Required)
workspacePathYesPath to the .xcworkspace file (Required)

Other Tools

Related Tools

Latest Blog Posts

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