Skip to content

Automate Code-Signing and Notarization for macOS Apps, PKGs and DMGs.

License

Notifications You must be signed in to change notification settings

hschneider/macos-sign-notarize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macos-sign-notarize-script

macos-sign-notarize

Automate Apple's Sign- and Notarization-Process from commandline.

With theses scripts, you can easily sign and notarize macOS Apps, PKGs and DMGs. No more commandline parameters to remember. Just setup the baked-in credentials and you are good to go.

sign

Setup:

# Setup.start
#
# The ID of your "Developer ID Application", assigned to your Keyring.
# This is usually your first- and lastname:
#
ID="Your Name"  
#
# Setup.end

Usage:

./sign application.app

notarize

Setup:

# Setup.start
#
USR="[email protected]"           # Your Apple dev account's email address
PWD="xxxx-xxxx-xxxx-xxxx"       # Your app specific password, NOT your login password
TEAM="xxxxxxxx"                 # Your dev team ID
#
# Setup.end

Usage:

./notarize application.app