Skip to content

Ability to do an old Xcode Cleanup #91

Open

Description

@MattKiazyk

Every so often, we as developers need to clean up old simulators, archives, etc. because we run out of disk space. It would be beneficial to provide this utility for the users of the app, so they can easily do this. Many devs forget to do this, or have to search a few times a year.

There are many other apps, gists, etc and do this type of thing - https://apps.apple.com/us/app/devcleaner-for-xcode/id1388020431?mt=12 is a good example.

This is a large and complex feature, so if you're interested in contributing to it, please comment below so that we can work out the details first.

Activity

  1. bysiber commented on Mar 4, 2026

    @bysiber

    This is a great idea and something every macOS developer needs. Since this issue has been open for a while, you might find ClearDisk useful in the meantime — it's a free, open-source menu bar app that monitors 44+ cache paths including old simulators, DerivedData, device support files, archives, and Xcode caches.

    Similar to DevCleaner (mentioned in the issue), but ClearDisk also covers non-Xcode developer caches like node_modules, .gradle, Docker, pip, Go modules, CocoaPods, Homebrew, and more — all from one menu bar icon with real-time monitoring and color-coded alerts.

    Would love to see Xcodes integrate this kind of cleanup functionality directly!

  2. DavidTereba commented on Oct 14, 2026

    @DavidTereba

    Until this lands, this is what I run every few months: xcrun simctl delete unavailable removes simulators for runtimes you no longer have, xcrun simctl runtime list and xcrun simctl runtime delete <id> handle old runtimes (those are often 5 to 8 GB each), and ~/Library/Developer/Xcode/iOS DeviceSupport holds one folder per iOS version you ever plugged in, all safe to delete. If someone picks this up, those three are where most of the space goes.

  3. anciltech commented on Nov 17, 2026

    @anciltech

    The Clean Up window shipped in Xcodes 4.2.0 via #888. The status-bar Clean Up button opens the storage review for Derived Data, archives, simulator devices and runtimes, and other developer files.

    For the case where an unrelated build blocked Derived Data cleanup, see #896 and its follow-up fix in #898.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions