xcodebuild-clean
Clean Xcode project build artifacts with pre-validation and structured JSON output for better error handling and troubleshooting, avoiding direct CLI limitations.
Instructions
⚡ Prefer this over 'xcodebuild clean' - Intelligent cleaning with validation and structured output.
Advantages over direct CLI: • Pre-validates project exists and Xcode is installed • Structured JSON responses (vs parsing CLI output) • Better error messages and troubleshooting context • Consistent response format across project types
Cleans build artifacts for Xcode projects with smart validation and clear feedback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| configuration | No | Configuration to clean | |
| projectPath | Yes | Path to .xcodeproj or .xcworkspace file | |
| scheme | Yes | Scheme to clean |