Command line tool to easily notarize a Mac app
This project is created to make it easy to automate this process.
$ ./install.sh
$ notarize \
--package "~/path/to/app.dmg" \
--username "[email protected]" \
--password "@keychain:AC_PASSWORD" \
--primary-bundle-id "com.company.appname.dmg"
$ notarize --help
Copyright (c) 2019, Morten Nielsen.
Version: Notarize 1.0.0 NotarizeKit 1.0.0
Usage: --package <path> --username <username> --password <password> --primary-bundle-id <primary-bundle-id>
Options:
--package Path to either DMG or zip file.
--username Email associated with Apple Connect.
--password Password for Apple Connect. Can be plain text, but it is recommended to use "@keychain:<name>".
--primary-bundle-id Bundle id of package. e.g. "com.company.appName.dmg".
--asc-provider Specify asc provider.
--help Display options.
$ xcrun altool
to upload the app package to Apple's servers.$ xcrun stapler staple <path>
$ xcrun altool --notarization-info
MIT © Morten Nielsen
link |
Stars: 56 |
Last commit: 1 year ago |
Initial release.
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics