clean_build
Remove build artifacts, DerivedData, or test results from Xcode projects to free up space and ensure clean builds. Configure targets like build, derivedData, testResults, or all for precise cleaning.
Instructions
Clean build artifacts, DerivedData, or test results
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cleanTarget | No | What to clean: build (xcodebuild clean), derivedData, testResults, or all | build |
configuration | No | Build configuration (Debug/Release) | Debug |
derivedDataPath | No | Path to DerivedData folder | ./DerivedData |
platform | No | Target platform (iOS, macOS, tvOS, watchOS, visionOS) | iOS |
projectPath | No | Path to the Xcode project or workspace (optional for DerivedData-only cleaning) | |
scheme | No | Xcode scheme (optional) |