Skip to content

jimmckay/notarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Notarizer 1.0.0.6

Notarize and Staple a Mac App in a Zip Archive, Installer Package or DMG

Installation

With Homebrew

brew tap jimmckay/homebrew-taps
brew install notarizer

Or... Download the Archive and place the notarizer script in your $PATH

Usage:

notarizer -u username -p password [options] FILE
notarizer --get-providers -u username

FILE will be uploaded to Apple's notary service and stapled on success.

Options:

  • -u, --username [username] (required)
    The username associated with your developer account
  • -p, --password [password]
    The password for the given username. You can use, for eample, @keychain:Notarizer to access a password stored in the login keychain with service name Notarizer.
    See App-Specific Passwords for help.
  • -i, --itc-provider [itc_provider_id]
    The developer shortname to use (usually your App Store Connect id without spaces or '|'s)
    Only required if you are a member of multiple Teams.
    See --get-providers for help finding your team shortname.
  • -s, --sign [cerificatename]
    An optional cerificate for codesigning before notarization
  • -n, --notify
    If present, a dialog will be displayed on completion
  • --get-providers
    Request a listing of provider shortnames
  • -h, --help
    Show this message and exit
  • -v, --version
    Print version information and exit

Credits

Written by Jim McKay
Copyright 2019

With some ideas from Thom McGrath's Code
Bash Scripting style garnered from create-dmg