Skip to content

rednoah/notarize-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

notarize-app

Linear notarize and staple for build tools.

  1. Run altool --notarize-app
  2. Run altool --notarization-info periodically and sleep until notarization is complete
  3. Run stapler staple

Usage

notarize-app <asc-provider> <username> <password> <primary-bundle-id> <file>

e.g.

notarize-app 'AB0CDEF2GF' '[email protected]' '@keychain:notarize-app' 'net.example.app' *.pkg

Xcode 13 and later

The newly introduced notarytool is suitable for automated build systems:

# Enter Apple ID
xcrun notarytool store-credentials 'notarize-app' --apple-id '[email protected]' --team-id 'AB0CDEF2GF'
# Notarize and Staple
xcrun notarytool submit --wait --keychain-profile 'notarize-app' *.pkg
xcrun stapler staple *.pkg

About

Linear notarize and staple for build tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages