Skip to content

Development

Gnohz Gniy edited this page Nov 2, 2023 · 12 revisions

Notarization

  1. Archive and export a signed distribution (*.app), e.g., Developer ID distribution.
  2. Create an installer (*.dmg) with the create-dmg tool.
  3. Notarize the installer (*.dmg) with notarytool as below.
xcrun notarytool store-credentials "notarytool-password" --apple-id "<apple-id>" --team-id <team-id> --password <app-specific-password>

xcrun notarytool submit MarkEdit.dmg --keychain-profile "notarytool-password" --wait

xcrun notarytool log <request-id> --keychain-profile "notarytool-password" notarization-log.json

xcrun stapler staple MarkEdit.dmg

For more information, see Customizing the notarization workflow.

Clone this wiki locally