MacSweep Guard – Safe macOS Cleanup with Rollback Protection
A native macOS utility built in Swift & SwiftUI that scans redundant user-space caches, previews every file path transparently, and protects cleanups with one-click Safe-Trash rollback.
MacSweep Guard scan breakdown and Safe-Trash preview on macOS
The Challenge
On Macs used daily for software engineering and creative workflows—especially 256GB and 512GB SSD models—free disk space disappears quickly under Xcode DerivedData, browser caches, stale logs, and orphaned build artifacts. Yet technical users routinely avoid third-party Mac cleaners for three well-founded reasons:
- Over-Privileged Root Daemons: Many cleaners install persistent
rootbackground agents with broad filesystem privileges. - Black-Box "One-Click" Deletion: Aggregating gigabytes of files behind a single button without showing exact paths makes it impossible to verify what is actually being removed.
- Irreversible Data Loss: Permanently unlinking the wrong local cache or app container can break a workspace with zero recovery path.
Safety-First Architecture
MacSweep Guard is built natively in Swift and SwiftUI around verifiable transparency and reversibility:
- Strictly User-Space Execution: Zero privileged root daemons and zero interference with macOS System Integrity Protection (SIP) or system binaries.
- 100% Path-Level Preview: Every scan groups reclaimable space into clear categories (application caches, logs, build artifacts, unused localizations) where users can inspect exact file paths and byte sizes before acting.
- Safe-Trash Quarantine & One-Click Restore: Instead of destructive permanent deletion by default, MacSweep Guard moves selected items into a managed Safe-Trash staging area alongside a path manifest—enabling instant one-click restoration to the exact original directory if needed.
- 100% Offline & Zero Telemetry: Filesystem scanning happens entirely on-device; file names, directory trees, and usage metrics never leave the user's Mac.
Key Engineering Highlights
Concurrent Scanner with Policy Guardrails
Powered by structured Swift Concurrency, the file scanner traverses high-churn user directories (~/Library/Caches, ~/Library/Logs, Xcode build caches, leftover app support folders) while enforcing Safety Policy Guardrails that automatically exclude credentials, keychains, SSH configurations, and user document libraries.
Persistent Whitelist Rules
Developers can pin specific tool caches, package stores, or project directories to an explicit Whitelist so future scans skip them automatically.
Native Universal macOS App
Designed to feel right at home on macOS with keyboard-friendly navigation, minimal memory overhead, and Apple Developer ID signing + notarization for seamless execution across Apple Silicon and Intel Macs.
Get the App
macOS · Experience native performance.



