Distribution & release

Notarization

Apple's automated malware scan and signature attestation for Mac apps distributed outside the App Store. Required for Gatekeeper to launch a downloaded app without warnings on modern macOS.

Apple notarizationNotary servicenotarytool

Notarization is the process where Apple's notary service scans a signed Mac app for malware and known signing problems, then attests that it is okay to launch. It is required for any app distributed outside the Mac App Store on modern macOS. An app that is signed but not notarized still launches, but the first-launch experience is a 'cannot verify the developer' warning that nukes conversion.

What it takes to notarize

  • A Developer ID Application certificate signing the binary.
  • Hardened runtime enabled on every binary in the bundle.
  • A timestamped signature (codesign --timestamp).
  • No prohibited entitlements (the com.apple.security.cs.* family is restricted).
  • An App Store Connect API key or app-specific password to submit through notarytool.

The flow with notarytool

bash
# Submit and wait for the result
xcrun notarytool submit MyApp.zip \
  --key AuthKey_ABC123.p8 \
  --key-id ABC123DEFG \
  --issuer 12345678-90ab-cdef-1234-567890abcdef \
  --wait

# Staple the ticket onto the bundle so Gatekeeper can verify offline
xcrun stapler staple MyApp.app

Why stapling matters

Without stapling, Gatekeeper has to make a network call to Apple to fetch the notarization ticket on first launch. Stapled apps carry the ticket inside the bundle, so they pass Gatekeeper checks even if the user is offline.

FAQ

Common questions about Notarization

How long does notarization take?

Most submissions come back in under five minutes, and Apple aims to finish the vast majority within 15. Very large artifacts and brand-new teams can take longer. Using notarytool with the --wait flag lets a CI job simply block until the verdict arrives.

Is notarization required to distribute a Mac app?

Outside the Mac App Store, effectively yes. On current macOS an un-notarized app triggers Gatekeeper warnings that most users cannot or will not click through, and macOS Sequoia removed the Control-click bypass. Mac App Store apps are not notarized; the store's own review takes that role.

Do iOS apps need notarization?

Not for the App Store; review and store signing cover it. A separate iOS notarization process exists only for apps distributed through alternative app marketplaces and web distribution in the EU. For everyone else, notarization remains a macOS concern.

Is notarization the same as App Review?

No. Notarization is an automated malware and signing check that takes minutes and judges nothing about your app's content or quality. App Review is the human review process for App Store submissions. A notarized app has been scanned, not endorsed, and Apple can revoke a notarization ticket if malware slips through.

Keep reading

Related terms

Next step

Help articles on this topic

Notice a definition that has drifted? Email support@hexsign.io and we'll update it. Browse the full glossary or jump to the help center.

Try HexSign

Know before a certificate or profile expires.

HexSign tracks every Apple certificate and provisioning profile and alerts you ahead of expiry. The Free plan covers tracking and alerts. Paid plans renew them for you.