LicenseManager

Blog

How to sell a Mac app outside the Mac App Store

7 min read

The Apple logo, an arrow leaving a store, and a license key

The Mac App Store is one way to sell a Mac app. Many of the best known indie Mac apps are sold from their own websites instead, or as well: no review on every update, no sandbox for features that need full disk access or other apps, real free trials, team licenses, and the customer’s email.

Selling a Mac app outside the Mac App Store means taking over what Apple did for you: signing and notarizing the app so Gatekeeper opens it, packaging it in a DMG, shipping updates with Sparkle, taking payments and handling taxes, and checking in the app that the customer paid, usually with a license key. This guide goes through each piece, what it costs, and the order to set them up in.

Why sell outside the Mac App Store

The reasons developers give, in their own words, come back to a few:

  • Commission. Apple keeps 15% of each sale under the Small Business Program (under $1 million a year), 30% above. Direct, you pay payment fees, around 3% to 5%, more with a merchant of record.
  • The sandbox. Every Mac App Store app runs in the App Sandbox. Apps that automate other apps, read any file, install helpers or extend the system often can’t, or need entitlements Apple rarely grants.
  • Review. Every update waits for App Review. A one-line fix for a crash can take a day or two to reach customers.
  • Trials. The Mac App Store has no native trial. The workaround, a free download with an in-app purchase to unlock, works, but it’s not what customers expect from “try it for 14 days”.
  • Customers. Apple doesn’t give you the buyer’s email. You can’t announce a major version, offer an upgrade discount or answer a support question about their purchase.
  • Licensing. Volume licenses for a team, upgrade pricing from version 2 to 3, educational discounts: hard or impossible in the store, routine on your own site.

The store has real advantages too: discovery in search, trust, payments and taxes handled, and Family Sharing. Many apps sell both ways. Mac App Store vs selling direct compares them in detail.

The stack, piece by piece

The pieces of selling a Mac app directly: notarization, a DMG on your website, a checkout, a license key, activation in the app, and Sparkle updates

1. Join the Apple Developer Program

You need it even outside the store: the Developer ID certificates that make your app open without warnings come with the membership, $99 a year. Create a Developer ID Application certificate in Xcode’s account settings, or on the developer website.

2. Sign with Developer ID, and notarize

Gatekeeper opens an app downloaded from the internet only if it’s signed with a Developer ID and notarized: uploaded to Apple, scanned for malware, and approved. Notarization is automated, usually takes minutes, and has no human review of your features.

In Xcode, Product > Archive, then Distribute App > Direct Distribution signs, uploads and staples the ticket for you. In a script or CI:

xcrun notarytool submit AcmePhoto.zip --keychain-profile "acme-notary" --wait
xcrun stapler staple AcmePhoto.app

Two requirements trip people up: the hardened runtime must be on, and every nested executable, frameworks and helpers included, must be signed. Sparkle’s helpers are the usual culprit: sign them before the app, or let Xcode do it.

3. Package it in a DMG

A DMG with your app and a shortcut to the Applications folder is what Mac users expect. Sign and notarize the DMG too, so the first thing customers open doesn’t warn them. A ZIP works, but many people run the app from Downloads and wonder why updates fail. Detect it, and offer to move the app to Applications on first launch.

4. Ship updates with Sparkle

Sparkle is the standard updater for Mac apps sold directly. Your app checks an appcast, an RSS feed on your server listing the versions, downloads the newest, verifies its EdDSA signature, and installs it on relaunch. Its generate_appcast tool writes the feed and the signatures from a folder of releases.

Keep the private key Sparkle generates somewhere safe: lose it, and your existing customers can’t verify updates anymore.

5. Take payments

Two families of providers:

  • A payment processor, like Stripe. Lowest fees. You’re the seller, so sales taxes are yours: VAT in the EU and UK, GST in Australia, sales tax in some US states. Stripe Tax calculates and collects them, and you still register and file.
  • A merchant of record, like Paddle, FastSpring or Stripe Managed Payments. They resell your app, collect and pay taxes worldwide, and handle invoices and chargebacks, for about 5% plus a fixed fee per sale, more for some.

Paddle was long the default for Mac developers, with a Mac SDK for licensing. Paddle Billing, its current platform, has no license keys: you keep Paddle for payments and add licensing next to it (see Paddle license keys). Paddle alternatives for Mac apps compares it with the other options today.

6. Unlock the app with a license key

Your app now has to know whether the person running it paid. A license key is the standard answer: the customer pays, receives a key by email, and pastes it into your app, which validates it with a server, ties it to that Mac, and stores a signed token so it keeps working offline.

That’s the piece where a server is hard to avoid: it’s what lets you limit a key to 2 Macs, expire it when a subscription ends, and revoke it after a refund. How to add license keys to a Mac app walks through the whole integration in SwiftUI.

7. Offer a trial

Direct sales make trials easy. Two common designs:

  • A trial key: the customer asks for a trial on your website, receives a key that expires in 14 days, and activates it like a paid one. You get their email, and the trial ends on time even offline.
  • A built-in trial: the app works for 14 days from first launch, then asks for a key. No email to collect, and easier to restart by resetting the stored date, unless you store it in the Keychain and tie it to the Mac.

Whichever you choose, show the days left and a Buy button in the app, not only on the last day.

8. Let customers help themselves

The most common support request for an app sold with keys is “I lost my key”. The second is “I bought a new Mac and the key says it’s used on too many”. A customer portal where they find their key by email and free an old Mac answers both, without you.

What it costs

For an app selling 100 copies a month at $49:

Mac App StoreDirect with StripeDirect with a merchant of record
Commission or fees15%, about $735 a monthAbout 3% plus tax filing, about $150About 5% plus $0.50, about $295
Apple Developer Program$99 a year$99 a year$99 a year
Sales taxesApple’sYours to fileTheirs
LicensingApple’sA licensing service or your own serverSometimes included, often basic
UpdatesThrough the storeSparkle, with a file hostSparkle, with a file host

The numbers move with your price and volume: compare with your own. Direct sales cost less per sale, and more of your time, especially for taxes if you use Stripe.

A checklist before launch

  • The app is signed with Developer ID, with the hardened runtime, and notarized. spctl -a -vv AcmePhoto.app says “accepted, source=Notarized Developer ID”.
  • The DMG is signed and notarized, and opens on a Mac that has never seen your app.
  • Sparkle finds and installs an update from your appcast, on a test machine.
  • A test purchase sends a license key email, and the key activates the app.
  • A refunded purchase locks the app at its next validation.
  • The app keeps working offline, and tells the customer before it needs to reconnect.
  • A customer can find a lost key and free a Mac without emailing you.

Build it or use a service

Most of the stack is standard: Xcode and notarytool for signing, Sparkle for updates, Stripe or a merchant of record for payments. The piece developers end up building is the license server, with the payment webhook, the signed tokens, the machine limits and the customer portal.

LicenseManager is that piece. Connect your Stripe or Paddle account, and each purchase creates a license key and emails it. The macOS SDK is a Swift package without dependencies that validates keys, limits Macs, stores everything in the Keychain, works offline with signed tokens, and runs in the App Sandbox and with the hardened runtime. Trial licenses use the same code as paid ones, and the customer portal answers the lost key and new Mac questions. See sandbox and distribution for how it fits with notarization and the Mac App Store.

Wrapping up

Selling a Mac app outside the Mac App Store takes a Developer ID and notarization, a DMG, Sparkle for updates, a payment provider, license keys, and a trial. In exchange, you keep more of each sale, ship fixes the day you write them, and know your customers.

Start with signing and notarization, since nothing else matters if Gatekeeper refuses to open the app, then add the checkout and the license key: how to add license keys to a Mac app covers the integration. Selling a cross-platform app built with Tauri instead? See how to sell a Tauri app.

More articles