Mac Sync
What it is
Section titled “What it is”Mac Sync lets your Mac produce exports without becoming a HealthKit reader. The iPhone remains the source of truth for Apple Health data. It captures the selected daily data and exact settings snapshot, then transfers that job to the Mac. The Mac plans paths and renders the requested formats. It writes the files to your selected destination folder.
How to enable
Section titled “How to enable”- Install and open the macOS app.
- On Mac, choose a destination folder so Health.md has write access.
- On iPhone, open the Sync tab and enable Mac connectivity.
- Return to the iPhone Export tab, choose Connected Mac, configure the export, and tap Export.
Data that transfers
Section titled “Data that transfers”- A versioned export request describing the date range and effective settings
- Progress and capability messages while the iPhone captures HealthKit data
- Bounded, checksum-validated frames carrying captured daily data and the exact settings snapshot for file-writing jobs
- A structured completion, partial, failure, rejection, or unavailable result
No account or remote health-data cloud is required. Nearby sync uses encrypted Multipeer Connectivity. Manual IP/Tailscale uses paired encrypted Network.framework transport. Both devices must be able to reach each other, and the iPhone remains the HealthKit reader.
When to use it
Section titled “When to use it”Both devices must be nearby and allowed to use local networking. Cellular-only iPhones cannot discover a Mac destination. If readiness says the Mac needs attention, reopen the Mac app and reselect the destination folder.
Mac sync and Direct CLI Access are separate
Section titled “Mac sync and Direct CLI Access are separate”Mac Sync pairs the iPhone with the Health.md Mac app for destination exports and encrypted agent context. Direct CLI Access pairs the iPhone with a command-line installation through a separate trust domain. Direct mode can export raw data or generated files without the Mac app, but it cannot use the Mac encrypted query index or MCP.
See Direct iPhone CLI before enabling the separate iPhone setting.