Linear notarize and staple for build tools.
- Run
altool --notarize-app
- Run
altool --notarization-info
periodically andsleep
until notarization is complete - Run
stapler staple
notarize-app <asc-provider> <username> <password> <primary-bundle-id> <file>
e.g.
notarize-app AB0CDEF2GF '[email protected]' '@keychain:notarize-app' 'net.example.app' *.pkg