XcodeBuildMCP

by cameroncooke

clean_ws

Clean build products for a specific workspace using xcodebuild. Requires workspacePath; optional parameters include scheme, configuration, derivedDataPath, and extraArgs.

Instructions

Cleans build products for a specific workspace using xcodebuild. IMPORTANT: Requires workspacePath. Scheme/Configuration are optional. Example: clean_ws({ workspacePath: '/path/to/MyProject.xcworkspace', scheme: 'MyScheme' })

Input Schema

NameRequiredDescriptionDefault
configurationNoOptional: Build configuration to clean (Debug, Release, etc.)
derivedDataPathNoOptional: Path where derived data might be located
extraArgsNoAdditional xcodebuild arguments
schemeNoOptional: The scheme to clean
workspacePathYesPath to the .xcworkspace file (Required)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "configuration": { "description": "Optional: Build configuration to clean (Debug, Release, etc.)", "type": "string" }, "derivedDataPath": { "description": "Optional: Path where derived data might be located", "type": "string" }, "extraArgs": { "description": "Additional xcodebuild arguments", "items": { "type": "string" }, "type": "array" }, "scheme": { "description": "Optional: The scheme to clean", "type": "string" }, "workspacePath": { "description": "Path to the .xcworkspace file (Required)", "type": "string" } }, "required": [ "workspacePath" ], "type": "object" }
ID: 80c3zmerx6