Skip to content

Simple and easy to use command line application written in Go for cleaning unnecessary XCode files.

Notifications You must be signed in to change notification settings

lajosdeme/xcclear

Repository files navigation

xcclear

Say hello to a few extra gigabytes of space on your Mac with xcclear, a simple and easy to use command line application written in Go for cleaning unnecessary XCode files.

Installation

brew install lajosdeme/utils/xcclear

Screenshots

Run xcclear -d to diagnose your storage:

diagnose

Run xcclear -p to purge all unwanted files from your storage:

purge

Options

flag type description
-d/--diagnose bool Diagnose the total space occupied by derived data, caches and other XCode related files.
-p/--purge bool Clean all caches/unnecessary files.
-c/--clear string Clean only the specified directories.
Options can be:
- derived: Derived Data.
- device: iOS DeviceSupport (The latest iOS version will be kept.)
- watch: watchOS DeviceSupport
- simulator: 'CoreSimulator'
- cache: Xcode caches located at ~/Library/Caches/com.apple.dt.Xcode
- archives: Archives
-v/--version bool Get the current version.

Development

Compiling from source

go get github.com/lajosdeme/xcclear

If $GOPATH/bin is on your $PATH run xcclear -h to see usage options.

Contributing

If you have any suggestions or questions feel free to raise an issue or reach out to me directly via [email protected].

If this tool made your life easier you can thank me by buying me a coffee.

Buy Me A Coffee

About

Simple and easy to use command line application written in Go for cleaning unnecessary XCode files.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages