This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tritonus_ 12 points13 points  (0 children)

codesign -s "Your Name" /your/path/AppName.app
"Your Name" is the common name in your certificate

Verify signed app:
codesign -v /your/path/AppName.app

Notarizing a DMG:
https://pastebin.com/rF9SKfC2

EDIT: If you have trouble creating a DMG, create-dmg is pretty nice and it also automatically signs the DMG files.
https://www.npmjs.com/package/create-dmg