Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
check-circle

GitHub Action

Xcode notarizer

v1.0.1

Xcode notarizer

check-circle

Xcode notarizer

Notarize Xcode products using notarytool

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Xcode notarizer

uses: love-actions/xcode-notarizer@v1.0.1

Learn more about this action in love-actions/xcode-notarizer

Choose a version

xcode-notarizer

About

This action uses xcrun notarytool to send your product to Apple's notary service, and xcrun stapler to staple the product.

This action supports .dmg, .pkg file and .app folder.

Quick example

Submit with Apple ID and app password

- name: Notarize product
  uses: 26F-Studio/xcode-notarizer@main
  with:
    product-path: ./dist/my_app.app
    apple-id: ${{ secrets.APPLE_ID }}
    app-password: ${{ secrets.APP_PASSWORD }}
    team-id: ${{ secrets.TEAM_ID }}
    staple: false

Submit with App Store Connect API key

- name: Notarize product
  uses: 26F-Studio/xcode-notarizer@main
  with:
    product-path: ./dist/my_app.app
    key-base64: ${{ secrets.API_KEY }}
    key-id: ${{ secrets.API_ID }}
    issuer-id: ${{ secrets.ISSUER_ID }}
    staple: false

All inputs

Name Required Default Description
product-path true "" Path to the product. Support .dmg, .pkg and .app
apple-id false "" Apple ID of the product's developer
app-password false "" App specific password of the product
team-id false "" Developer team ID of the product
key-base64 false "" Base64 content of the App Store Connect API key
key-id false "" ID of the App Store Connect API key
issuer-id false "" ID of the App Store Connect API issuer
staple false "true" Whether to staple product or not