Reclaim is an open-source macOS cleanup tool built natively in Swift. The app uses a general cleanup architecture where multiple specialized scanners can identify and safely remove unnecessary data, caches, build artifacts, and system trash to reclaim precious disk space.
- SwiftUI Interface: Beautiful, responsive native UI built for macOS 13+.
- Universal Binaries: Native support for both Apple Silicon (M-series) and Intel architectures.
- System-Wide Scan Mode: Scans every user profile under
/Usersin one pass. - Specialized Scanners:
- Xcode: Reclaim space occupied by stale
DerivedData, outdated simulators, and iOS device logs. - Unity: Automatically detects cached builds and unnecessary library artifacts across all Unity projects.
- More scanners can easily be added using the modular
MacCleanerCoreframework.
- Xcode: Reclaim space occupied by stale
- Navigate to the Releases section of this repository.
- Download the latest
Reclaim-vX.Y.Z.zip. - Unzip the file and drag the provided
Reclaim.appto your/Applicationsfolder. - If macOS warns that Apple cannot verify the app, right-click
Reclaim.app, chooseOpen, and confirm once.
Note: The GUI scans
/Usersdirectly. Depending on your macOS privacy settings, the system may ask for access to protected folders such as Mail, Safari, Desktop, Documents, and Downloads while the scan runs.
Note: The zip file also conveniently contains the standalone
mac-cleanerandunity-detectorcommand-line utilities inside the same extracted folder, ready to be used from your terminal if preferred.
The Command-Line interface utilities (mac-cleaner and unity-detector) support flags such as:
--version: Print the installed version payload.--root=<path>: Designate exactly which directory to scan.--json: Output machine-readable JSON payloads instead of human-readable text.--max-depth=<depth>: Set a limit on how deep to traverse.--minimum-confidence=<1-10>: Set minimum strictness regarding what should be deleted.
Build the entire project via SwiftPM:
swift buildRun unit tests:
swift testRun the general cleanup CLI targeting the current directory:
swift run mac-cleaner --root=. --jsonRun the specialized Unity scanner:
swift run unity-detector --root=. --jsonThe project relies on GitHub Actions to auto-release the Reclaim GUI natively. A .github/workflows/release.yml triggers when pushing new git tags (e.g., v1.2.0) to automatically bind the version natively and export universally compiled applications ready for download.
The current release workflow builds the universal binaries, bundles Reclaim.app plus the CLI tools into one ZIP, and uploads that archive to GitHub Releases. The release is unsigned, so Gatekeeper may require the manual Open confirmation described above on first launch.
To launch the GUI locally during development with an auto-generated App bundle scaffold:
./Scripts/run-gui-app.sh debugPull requests are actively welcomed! Please follow common conventions and write unit tests for any new scanner added to the MacCleanerCore architecture.
This project is licensed under the MIT License - see the LICENSE file for details.