Giter Club home page Giter Club logo

notarize's Introduction

notarize

Build Status Swift 5.1 Contributors Forks Stargazers Issues MIT License Become a Patron! Buy me a coffee

A tool to notarize your .app files.

Could also get notarization information in different format than xcrun altool like JSON.

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 install

Xcode 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 notarize

Notarize 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 json

Configuration

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

Show graph online

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

notarize's People

Contributors

phimage avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.