← ClaudeAtlas

notarize-and-distributelisted

Take a built macOS app from an Xcode archive, package it into a signed DMG, notarize it with Apple, staple the ticket, and verify that everything — the app AND the DMG — is properly signed and notarized for direct (non-App-Store) distribution. Use this whenever the user wants to ship a Mac app outside the Mac App Store ("נוטריזציה", "קובץ DMG"): build/create a DMG, sign with Developer ID, notarize, staple, fix "app is damaged / can't be opened / unidentified developer" Gatekeeper errors, or verify notarization status. Covers the Developer ID flow only (for Mac App Store builds, that's a different signing path). It signs, notarizes and packages; setting up the Sparkle update channel is macos-direct-distribution's job.
yybd/app-factory · ★ 5 · AI & Automation · score 77
Install: claude install-skill yybd/app-factory
# Notarize & Distribute (Developer ID DMG) > **Conversational language:** talk to the user — questions, summaries, reports — in **the language the user writes in** — unless a `conversational language` is set in the hub `DATA.md` (`$APP_HUB/DATA.md`), which overrides it. This sets the *conversation* language only — content/deliverables follow the app's target locales. For a Mac app distributed outside the App Store, Apple's Gatekeeper will block it unless it is signed with **Developer ID**, **notarized** by Apple, and the notarization ticket is **stapled**. Miss any step and users see "app is damaged" or "unidentified developer". This skill runs the whole chain — locate the app → **notarize + staple the app** → DMG → sign → **notarize + staple the DMG** → verify — and checks that the DMG *and* the app inside it pass Gatekeeper. **Always notarize the app itself, not just the DMG.** The standard flow notarizes and staples the `.app` *before* packaging it, then notarizes the DMG too. Stapling only the DMG leaves the app inside un-notarized, so once a user drags it out of the DMG it can fail Gatekeeper offline ("damaged"). Doing both is the default here — `build` refuses to package an un-notarized app unless you explicitly waive it with `--allow-unstapled`. The work is automatable (codesign/hdiutil/notarytool/stapler are all CLI), so this skill mostly *does* rather than guides — via [scripts/notarize_dmg.py](scripts/notarize_dmg.py). The only manual prerequisite is one-time cr