notarize-and-distributelisted
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