macOS & Sparkle

Shipping Universal vs Separate Apple Silicon (arm64) and Intel (x64) macOS DMGs

Lipo-ing an Electron app doubles your installer from 120 MB to 240+ MB, whereas a native Swift app grows by only a few megabytes. Here is when to split builds — and how to detect Apple Silicon safely.

Every Mac developer hits this packaging fork right before launch: ship one Universal (.dmg) binary that runs natively on both Apple Silicon and Intel Macs, or publish separate arm64 and x64 installers?

1. Native Swift vs Electron: completely different size math

App Stackarm64 Onlyx64 OnlyUniversal (lipo)Recommendation
Native Swift / AppKit / SwiftUI8–22 MB8–22 MB12–34 MBShip Universal (tiny overhead, zero user confusion)
Tauri v2 (Rust + WKWebView)6–14 MB6–14 MB10–22 MBShip Universal unless bundling large ML models
Electron (Chromium + Node)105–135 MB110–145 MB215–280 MBShip separate arm64 & x64 builds (cuts bandwidth in half)

2. The Safari User-Agent trap on Apple Silicon Macs

If you ship separate arm64 and x64 DMGs, NEVER trust the HTTP User-Agent string alone to decide which installer to serve. macOS Safari intentionally freezes its User-Agent to "Intel Mac OS X 10_15_7" even on an M4 Max MacBook Pro! Serving x64 whenever you see "Intel" in User-Agent forces almost every Safari visitor on Apple Silicon to run your app under Rosetta 2.

  • Default macOS downloads to arm64 when User-Agent is ambiguous (over 85% of active indie Mac buyers are now on Apple Silicon), and show a clear "Intel (x64)" fallback link right below the primary button.
  • In Chromium-based browsers, inspect Client Hints (Sec-CH-UA-Arch) when available for deterministic architecture matching.
  • If a release only ships arm64 (e.g. MLX / Metal-only local AI apps), make sure your download resolver falls back gracefully instead of serving a broken 404.

3. Auto-updaters handle architecture better than browsers

Once your app is installed, both Sparkle and electron-updater know the exact running CPU architecture (arm64 vs x64) natively. In electron-builder, publishing both MyApp-1.8.0-arm64-mac.zip and MyApp-1.8.0-mac.zip into latest-mac.yml lets electron-updater pick the native binary automatically — and ReleaseFlow resolves the exact platform-compatible build on your permanent /download link too.

Companion Tools & Docs

Put this guide into practice

ReleaseFlow

Ship your Mac or Electron app with a single git tag.

Permanent OS-aware download links, cached Sparkle & Electron auto-update feeds, Polar/Stripe PPP checkout, and license keys — with 0% cut on your sales.

Keep Reading