Giter Club home page Giter Club logo

notarize-app's Introduction

notarize-app

Linear notarize and staple for build tools.

  1. Run altool --notarize-app
  2. Run altool --notarization-info periodically and sleep until notarization is complete
  3. Run stapler staple

Usage

notarize-app <asc-provider> <username> <password> <primary-bundle-id> <file>

e.g.

notarize-app 'AB0CDEF2GF' '[email protected]' '@keychain:notarize-app' 'net.example.app' *.pkg

Xcode 13 and later

The newly introduced notarytool is suitable for automated build systems:

# Enter Apple ID
xcrun notarytool store-credentials 'notarize-app' --apple-id '[email protected]' --team-id 'AB0CDEF2GF'
# Notarize and Staple
xcrun notarytool submit --wait --keychain-profile 'notarize-app' *.pkg
xcrun stapler staple *.pkg

notarize-app's People

Contributors

rednoah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

notarize-app's Issues

check status of two notarizations at the same time?

It's a great and easy to understand script. Thanks a lot!

Now I'm wondering if this can be modified to check the status of two notarizations.
We are creating two apps from the same code at the same time. So I'm running the notarization one after the other but wonder if it is possible to check on their status in parallel.

How does this work?

Please create a guide for it.
I don't know how to use it to notarize my screensaver.

Update from altool to notarytool

*** Warning: altool has been deprecated and, starting in fall 2023, will no longer be supported by the Apple notary service. You should start using notarytool to notarize your software. (-1030)

Replace altool with notarytool

Hi,
Can you replace altool with a new notarytool?
Apple shows a warning: "altool has been deprecated and, starting in fall 2023, will no longer be supported by the Apple notary service. You should start using notarytool to notarize your software. (-1030)"

Skip stapling for a ZIP archive

It's possible to notarize DMG, PKG or ZIP archive. However ZIP archive with an APP bundle cannot be stapled after notarization. Can you modify your script to skip stapling of a ZIP archive? In this case, I staple original APP folder after notarization when you script finish it's job.
P.S. Thanks for your very useful script!

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.