Skip to main content
Glama

build_mac_ws

Build macOS apps using xcodebuild from a workspace by specifying the workspace path, scheme, and optional configurations like architecture and build type.

Instructions

Builds a macOS app using xcodebuild from a workspace.

Input Schema

NameRequiredDescriptionDefault
archNoArchitecture to build for (arm64 or x86_64). For macOS only.
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)
workspacePathYesPath to the .xcworkspace file (Required)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "arch": { "description": "Architecture to build for (arm64 or x86_64). For macOS only.", "enum": [ "arm64", "x86_64" ], "type": "string" }, "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" }, "workspacePath": { "description": "Path to the .xcworkspace file (Required)", "type": "string" } }, "required": [ "workspacePath", "scheme" ], "type": "object" }

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/SampsonKY/XcodeBuildMCP'

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