Skip to main content
Glama

test_device_proj

Execute tests for Apple projects on physical devices using xcodebuild, parse xcresult output, and specify projectPath, scheme, and deviceId for accurate results.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
configurationNoBuild configuration (Debug, Release)
derivedDataPathNoPath to derived data directory
deviceIdYesUDID of the device (obtained from list_devices)
extraArgsNoAdditional arguments to pass to xcodebuild
platformNoTarget platform (defaults to iOS)
preferXcodebuildNoPrefer xcodebuild over faster alternatives
projectPathYesPath to the .xcodeproj file
schemeYesThe scheme to test

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