A tool to notarize your .app
files.
Could also get notarization information in different format than xcrun altool
like JSON.
- 📦 Zip the app - using
ditto
- ⬆️ Upload it to apple service - using
xcrun altool
- ⏳ Wait for final notarization result - by polling on
xcrun altool
- 🧷 Staple your app. - using
xcrun stapler
git clone https://github.com/phimage/Notarize.git
cd Notarize
make install
Xcode must be installed
You can see all description by notarize help
$ notarize help
Available commands:
help Display general or command-specific help
history Show history
info Show information
notarize Notarize (default command)
version Display the current version of notarize
$ notarize --app Your/App.app --username "me" --password "keychain@dummy"
$ notarize --app Your/App.app --username "me" --password "keychain@dummy" --ascProvider "MYTEAMID"
$ notarize history --username "me" --password "keychain@dummy"
$ notarize info --uuid a1b2c3d4e5f6 --username "me" --password "keychain@dummy"
$ notarize info --uuid a1b2c3d4e5f6 --username "me" --password "keychain@dummy" --reporter xml
$ notarize info --uuid a1b2c3d4e5f6 --username "me" --password "keychain@dummy" --reporter json
You can configure notarize by adding a .notarize.yml
file in your working directory
key | description |
---|---|
username |
The username. |
password |
The password. |
ascProvider |
The asc provider |
reporter |
How to display information: json, xml |
username: "me"
password: "keychain@dummy"
reporter: "json"
You can also use this configuration file with --config
$ notarize --app Your/App.app --config "path/to/.notarize.yml`"
Fork and make PR
- allow to skip some step (like staple, or wait)
- with an option like verbose, show log for each step
- other output format ie. reporter
- maybe save app name and path with notarization uuid to have further information when getting history or info