Skip to main content

CLI tool to reclaim disk space from Xcode build artifacts, caches, and simulators

Project description

xcode-cleaner

A CLI tool to reclaim disk space from Xcode build artifacts, caches, and simulators.

What It Scans

Category Path
Derived Data ~/Library/Developer/Xcode/DerivedData
Archives ~/Library/Developer/Xcode/Archives
iOS Device Support ~/Library/Developer/Xcode/iOS DeviceSupport
watchOS Device Support ~/Library/Developer/Xcode/watchOS DeviceSupport
tvOS Device Support ~/Library/Developer/Xcode/tvOS DeviceSupport
Simulators Managed via xcrun simctl
Xcode Caches ~/Library/Caches/com.apple.dt.Xcode

Installation

From PyPI:

pip install xcode-cleaner

From source:

git clone https://github.com/cdunkel/xcode-cleaner.git
cd xcode-cleaner
pip install .

Usage

Scan and display a disk usage report:

xcode-cleaner scan

Interactively select and delete items to free space:

xcode-cleaner clean

Preview what would be deleted without actually deleting:

xcode-cleaner clean --dry-run

Requirements

  • macOS
  • Python 3.9+
  • Xcode (for simulator management)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xcode_cleaner-0.1.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xcode_cleaner-0.1.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file xcode_cleaner-0.1.0.tar.gz.

File metadata

  • Download URL: xcode_cleaner-0.1.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for xcode_cleaner-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0715b0b259f7c59b6b065c4f32cabe7b125e0b8d72a46248421831902378d630
MD5 bff795b9bee30b12de21f4ecba7a1357
BLAKE2b-256 dd474a9b6567a3919cb30bf0ec3104c40682d6763ce47e82f7f176e986b38002

See more details on using hashes here.

File details

Details for the file xcode_cleaner-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: xcode_cleaner-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for xcode_cleaner-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 112ac896d7edb63484416bf8b9defbe0b698a13b5bc1a09b727434ee4d0ea5fa
MD5 4c6e47b650fed39d9d9cf2e2fbfb18a9
BLAKE2b-256 1cd3850e20ac162821077eb017699cd7f1cd3295e801527827ea03b6e512860d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page