How to ship Mac app updates with Sparkle

Give a Mac app a hosted Sparkle update feed, publish signed builds with update notes, keep a version history you can roll back to, and limit updates to paid copies.

Updated 2 min read7 steps

Sparkle is how most Mac apps outside the App Store update themselves. The app reads a feed, compares versions, and offers the new build. What Sparkle leaves to you is hosting that feed and the builds behind it. DeliveryKit hosts both: you upload a build, and the feed updates itself.

Step 1: Turn on the update feed

Create a file in DeliveryKit, choose Mac app, and upload your disk image. The file gets its own feed address:

https://deliverykit.app/w/your-studio/updates/01m7f3…/appcast.xml

Step 2: Point your app at it

Add Sparkle to the app and set two keys in Info.plist:

<key>SUFeedURL</key>
<string>https://deliverykit.app/w/your-studio/updates/01m7f3…/appcast.xml</string>
<key>SUPublicEDKey</key>
<string>your Sparkle public key</string>

SUPublicEDKey is the public half of the key Sparkle’s generate_keys makes. The private half stays on your Mac and signs each build.

Step 3: Publish a build

Sign the disk image with Sparkle’s sign_update. It prints an EdDSA signature. In DeliveryKit, replace the file with the new disk image and fill in:

  • Build version, the number Sparkle compares, such as 44
  • Display version, what people see, such as 1.0
  • EdDSA signature, from sign_update
  • Minimum macOS, if the build needs one
  • Release notes

Save, and the feed serves the new build. Running copies offer it at their next check.

Step 4: Write update notes people will read

Notes are plain text. A line that starts with - becomes a bullet, and a blank line starts a new paragraph:

A calmer, quicker Kite.

- Rain that gathers and runs
- Smoother blending with more colors
- Fixes a stuck weather reading

The same notes appear in Sparkle’s update prompt and on the buyer’s download page. Someone several builds behind sees the notes for the builds they skipped too.

Step 5: Roll back when you need to

Every build you publish is kept in the file’s version history with its notes. The newest three stay stored, and Make current puts any of them back on the feed.

Step 6: Keep updates for paid copies

Turn on Updates for license holders only and the feed answers only a request that carries a valid license. Have Sparkle add it to the feed URL:

func feedURLString(for updater: SPUUpdater) -> String? {
    guard let license = UserDefaults.standard.string(forKey: "license") else { return nil }
    return "https://deliverykit.app/w/your-studio/updates/01m7f3…/appcast.xml?license=\(license)"
}

A running trial counts, so people trying the app still get fixes. A copy whose paid time has run out keeps working on the build it has.

Step 7: Let your agent publish

DeliveryKit’s MCP server can do steps 3 and 4. An assistant with access can upload the disk image, attach the signature and notes, and publish, so a release can be one instruction from the terminal you built the app in.

Start selling your first download

Connect your Stripe account and choose the files you want to sell. DeliveryKit sends buyers their downloads after payment.