clean_ws
Remove build artifacts from a specified Xcode workspace to optimize storage or prepare for a fresh build. Requires a workspace path, with optional scheme, configuration, and derived data paths for precise cleanup.
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) |