No release in over 3 years
Low commit activity in last 3 years
Script to remove trash files that Xcode generates
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.14
~> 10.0

Runtime

~> 0.1.1
 Project Readme

Xcode Trash Remover

CI

This is a simple script to remove Xcode's trash files that are generated under development.

If you need a full fledged application, check out PureMac and xcode-dev-cleaner.

Installation

$ gem install xcode_trash_remover

Usage

$ xcclean
Usage: xcclean [options]
        --check           Checks the volumes
        --remove          Removes the files from your system
    -h, --help            Show this help

Pass exactly one of --check or --remove.

Directories

  • Derived Data: Intermediate build information.

  • Archives: Info about the target. Used for debbuging deployed applications.

  • CoreSimulator/Devices: Simulators and devices. That's where Xcode stores the apps' data.

  • iOS Support: iOS device support files used for on-device debugging.

  • watchOS Support: watchOS device support files used for on-device debugging.

  • Xcode Cache: Xcode's general cache (com.apple.dt.Xcode).

  • SPM Cache: Swift Package Manager cache (org.swift.swiftpm).

Warning

You should only use this program if you're sure you're not going to use the information contained in these folders.

Development

Run the test suite with:

$ bundle exec rake test

The GitHub Actions workflow runs the same command on pushes, and pull requests to main using Ruby 4.0.2.