XcodeBuildMCP

by cameroncooke

clean_proj

Clean build products from an Xcode project using xcodebuild. Specify the project path; optionally include scheme, configuration, or derived data path for targeted cleaning.

Instructions

Cleans build products for a specific project file using xcodebuild. IMPORTANT: Requires projectPath. Scheme/Configuration are optional. Example: clean_proj({ projectPath: '/path/to/MyProject.xcodeproj', scheme: 'MyScheme' })

Input Schema

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

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" }, "projectPath": { "description": "Path to the .xcodeproj file (Required)", "type": "string" }, "scheme": { "description": "Optional: The scheme to clean", "type": "string" } }, "required": [ "projectPath" ], "type": "object" }
ID: 80c3zmerx6