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
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) |