clean_ws
Remove build products for a specific Xcode workspace using xcodebuild. Specify the workspace path; optional parameters include scheme, configuration, and derived data path. Simplify cleanup for Xcode projects.
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
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| configuration | No | Optional: Build configuration to clean (Debug, Release, etc.) | |
| derivedDataPath | No | Optional: Path where derived data might be located | |
| extraArgs | No | Additional xcodebuild arguments | |
| scheme | No | Optional: The scheme to clean | |
| workspacePath | Yes | Path to the .xcworkspace file (Required) |