Metadata-Version: 2.4
Name: xcode-cleaner
Version: 0.1.0
Summary: CLI tool to reclaim disk space from Xcode build artifacts, caches, and simulators
Author: cdunkel
License-Expression: MIT
Project-URL: Homepage, https://github.com/cdunkel/xcode-cleaner
Project-URL: Repository, https://github.com/cdunkel/xcode-cleaner
Project-URL: Issues, https://github.com/cdunkel/xcode-cleaner/issues
Keywords: xcode,macos,disk-space,cleanup,cli,simulators,derived-data
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: System :: Filesystems
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click>=8.0
Requires-Dist: rich>=13.0
Requires-Dist: InquirerPy>=0.3.4
Dynamic: license-file

# 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
