App Store Notary Runner
Before invoking Apple-only binaries, confirm the execution context is macOS. From Windows or Linux, run those steps in a Mac SSH project or through an already configured remote transport; do not retry missing Apple binaries locally.
Use for macOS apps distributed outside the App Store with Developer ID signing and Apple notarization.
Use macos-notarization-packager first when the artifact is not clearly distribution-ready. Use macos-signing-inspector for local code-signing, entitlement, Gatekeeper, or trust-policy diagnosis.
Preconditions
- Xcode/CLT configured.
asc auth loginorASC_*.- Developer ID Application certificate in keychain.
- App builds for macOS.
Workflow
- Check the signing identity. If a submission ID already exists for this artifact, inspect its status and log before submitting again.
- If the artifact is not clearly Developer ID ready, route to
macos-notarization-packagerbefore exporting or submitting. - Verify signing and the timestamp, package as ZIP, DMG, or PKG, then submit the artifact intended for distribution.
- Check the submission status and log. Repair rejected artifacts before retrying.
- After
Accepted, staple and validate the ticket on the submitted DMG or PKG. For ZIP distribution, staple its app bundle and regenerate the ZIP.
References
references/appstore-notary-runner.mdfor detailed preflight, archive, export, submit, status, stapling, DMG, PKG, and troubleshooting commands.