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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0715b0b259f7c59b6b065c4f32cabe7b125e0b8d72a46248421831902378d630
|
|
| MD5 |
bff795b9bee30b12de21f4ecba7a1357
|
|
| BLAKE2b-256 |
dd474a9b6567a3919cb30bf0ec3104c40682d6763ce47e82f7f176e986b38002
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
112ac896d7edb63484416bf8b9defbe0b698a13b5bc1a09b727434ee4d0ea5fa
|
|
| MD5 |
4c6e47b650fed39d9d9cf2e2fbfb18a9
|
|
| BLAKE2b-256 |
1cd3850e20ac162821077eb017699cd7f1cd3295e801527827ea03b6e512860d
|