Skip to main content
Use clean to remove build artifacts and caches. With no flags, it cleans scheme build artifacts using your saved project settings.
# Clean scheme artifacts (after init)
flowdeck clean

# Clean FlowDeck/Xcode Derived Data or Xcode cache
flowdeck clean --derived-data
flowdeck clean --xcode-derived-data
flowdeck clean --xcode-cache

# Clean everything
flowdeck clean --all

# Show usage examples
flowdeck clean --examples

Options

OptionShortDescription
--derived-dataDelete all FlowDeck Derived Data
--xcode-derived-dataDelete all Xcode Derived Data
--xcode-cacheDelete Xcode cache
--allClean scheme artifacts, FlowDeck/Xcode Derived Data, and cache
--project <path>-pProject directory
--workspace <path>-wPath to workspace (.xcworkspace) or project (.xcodeproj)
--scheme <name>-sScheme name
--derived-data-path <path>-dCustom derived data path (default: ~/Library/Developer/FlowDeck/DerivedData)
--config <path>-cLoad settings from JSON config
--json-jOutput JSON/NDJSON events
--verbose-vShow clean output
--examples-eShow usage examples

JSON Output

When --json is set, clean emits NDJSON events and a final result event.