phimage/notarize
A tool to notarize your .app files.
What notarize could do for you?
- 📦 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
Install
Using sources
git clone https://github.com/phimage/Notarize.git
cd Notarize
make installXcode must be installed
Usage
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 notarizeNotarize command
$ notarize --app Your/App.app --username "me" --password "keychain@dummy"team id
$ notarize --app Your/App.app --username "me" --password "keychain@dummy" --ascProvider "MYTEAMID"History command
$ notarize history --username "me" --password "keychain@dummy"Info command
$ notarize info --uuid a1b2c3d4e5f6 --username "me" --password "keychain@dummy"Use a reporter in any command
$ notarize info --uuid a1b2c3d4e5f6 --username "me" --password "keychain@dummy" --reporter xml$ notarize info --uuid a1b2c3d4e5f6 --username "me" --password "keychain@dummy" --reporter jsonConfiguration
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`"Dependencies
Contributing
Fork and make PR
TODO
- 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
[contributors-shield]: https://img.shields.io/github/contributors/phimage/Notarize.svg?style=flat [contributors-url]: https://github.com/phimage/Notarize/graphs/contributors [forks-shield]: https://img.shields.io/github/forks/phimage/Notarize.svg?style=flat [forks-url]: https://github.com/phimage/Notarize/network/members [stars-shield]: https://img.shields.io/github/stars/phimage/Notarize.svg?style=flat [stars-url]: https://github.com/phimage/Notarize/stargazers [issues-shield]: https://img.shields.io/github/issues/phimage/Notarize.svg?style=flat [issues-url]: https://github.com/phimage/Notarize/issues [license-shield]: https://img.shields.io/github/license/phimage/Notarize.svg?style=flat [license-url]: https://github.com/phimage/Notarize/blob/master/LICENSE [swift-shield]: https://img.shields.io/badge/Swift-5.1-orange.svg?style=flat [swift-url]: https://developer.apple.com/swift/ [build-shield]: https://travis-ci.org/phimage/Notarize.svg?branch=master [build-url]: https://travis-ci.org/phimage/Notarize
Package Metadata
Repository: phimage/notarize
Default branch: master
README: README.md