摘要:Free, open-source macOS cleaner built with native SwiftUI. Zero telemetry, MIT licensed, with scheduled auto-cleaning and app uninstallation.

PureMac is a free, open-source macOS system cleanup utility built entirely with native SwiftUI. Positioned as a privacy-respecting alternative to commercial cleaners like CleanMyMac, it offers disk space analysis, cache cleanup (Xcode, Homebrew, system), scheduled auto-cleaning, and app uninstallation — all with zero telemetry and a MIT license. The project has attracted over 4,300 GitHub stars and 243 forks, reflecting strong community interest in an honest, no-nonsense macOS maintenance tool.

The tool's architecture leverages macOS system frameworks directly — AppKit, Foundation, and TCC (Transparency, Consent, and Control) — to request Full Disk Access without bundling any third-party tracking SDKs. Its app uninstaller goes beyond dragging to Trash by safely removing application bundles along with associated plist files and support directories, with administrator privilege escalation for protected system items.

## 核心技术亮点

- **Native SwiftUI Throughout**: Every UI component is built with SwiftUI rather than bridging from Objective-C or using cross-platform toolkits. The recent dashboard redesign introduced an appearance toggle (light/dark) and AI-powered scan history, all built natively on top of SwiftUI's latest APIs. The team maintains a localization system with 9+ locales, enforced by XCTest parity guards that automatically catch UI strings missing translations.
- **Zero Telemetry Architecture**: PureMac explicitly collects no usage data, no crash reports to third parties, and no analytics pings. The only "phone home" is an optional in-app updater powered by Sparkle (Stage 1 implementation merged), and even that is opt-in and respects the user's choice to disable automatic checks entirely. For privacy-conscious macOS power users, this is a meaningful differentiator from commercial alternatives.
- **Protected Item Uninstall with Admin Fallback**: The uninstall flow handles Apple's System Integrity Protection (SIP) by gracefully escalating to administrator privileges when the initial removal attempt fails on protected paths. A recent PR (#100) fixed the "FDA granted but still can't remove" edge case by treating missing files as already-removed and retrying with elevated privileges, addressing issues #93, #95, and #97 in a single targeted fix.

## 英文社区精选讨论

> **Issue #100 — fix: uninstall protected items with admin fallback** (2 comments)
>
> A contributor addressed the persistent bug where uninstalling apps fails with "FDA has not been granted" even when Full Disk Access is confirmed in System Settings. The fix adds three key behaviors: retry with administrator privileges on protected items, treat missing files as already removed (avoiding false errors), and clean up deleted apps from the tracking list. This resolved a cluster of three related issues (#93, #95, #97) that had frustrated users across different macOS versions including Intel-based macOS 15.7.5.

> **Issue #95 — "Couldn't clean everything" persists after v2.2.0 fix — FDA confirmed granted but MS Office package fails** (1 comment)
>
> A user reported that despite v2.2.0's attempt to fix FDA permission handling, the same error persists specifically with Microsoft Office packages. The app's own UI even displays "Full Disk Access granted" at the bottom of the sidebar, yet uninstall still fails. This highlights the edge case where multi-bundle applications with complex nested structures (like Microsoft Office) have non-standard installation paths that PureMac's permission system hadn't previously accounted for.

> **Issue #92 — [Bug] The size statistics of the app are incorrect** (0 comments)
>
> A user reported a UI bug where the disk space statistics displayed in the app's dashboard do not match the actual disk usage. This type of issue is particularly visible in a utility app — users are checking the numbers specifically to free up space, so incorrect reporting undermines trust. The issue was filed against v2.2.0 and demonstrates the ongoing challenge of maintaining accurate macOS disk reporting as Apple changes system APIs across macOS versions.

## 总结

PureMac stands out as a well-maintained, genuinely privacy-first alternative in a category where most tools bundle telemetry SDKs and nag users with upsells. Its SwiftUI-first approach keeps the codebase modern and maintainable, while the active issue tracker shows a responsive maintainer addressing real user pain points — especially around macOS permission edge cases that are notoriously difficult to handle correctly. The Sparkle updater integration signals a move toward a more polished release cycle. For any macOS power user looking to reclaim disk space without compromising privacy, PureMac is worth bookmarking.

**@momenbasel** · [GitHub Repository](https://github.com/momenbasel/PureMac)