How to Automate macOS Application Notarization

Sasmito Adibowo
0 ratings

All you need to integrate notarization into a pre-existing CI/CD process. Don’t have build automation yet? No worries! The book will also walk you through setting up your first Xcode Server installation.

In this product you will get:

  • A step-by-step guide to notarize applications from the command line.

  • Command reference of notarization tools, including descriptions of the machine-parseable outputs of these tools.

  • A step-by-step guide to integrate notarization with Xcode bots and sample scripts for you to build on.

This edition is written with Xcode 13 and macOS 12 (Monterey) in mind. likewise it would show you effective use of the new notarytool command (and do away with the deprecated altool that was distributed with older versions of Xcode) Having prior experience using Xcode will be useful, but not necessary. You will also need to be enrolled in the Apple Developer Program, or have access to a team enrolled in the program.

Table of Contents

  1. Introduction

    1. About the Book

    2. Is this for You?

  2. The Notarization Workflow

    1. Workflow Elements

    2. Authorization & Authentication

    3. Parsing Output

  3. Command Reference

    1. Submit

    2. Get Notarization Log

    3. Staple Notarization Results

    4. Product Validation

  4. Xcode Bot Integration

    1. Pre-Requisites

    2. Project Setup

    3. Server Setup

    4. Xcode Server Configuration

    5. Xcode Bot Setup

    6. Troubleshooting

  5. Next Steps

    1. Securing Credentials

    2. Hardened Runtime

    3. Non-App Bundles

    4. Other CI/CD Systems

  6. About the Author

You could buy this book or spend about 40-60 hours of a developer’s time to figure it out yourself. In other words, save about $2500 worth of trial and error (based on the median rate of macOS developers in UpWork) as well as time spent to build and notarize apps manually for every release.

“Improving daily work is even more important than doing daily work.”
– Gene Kim, The Phoenix Project: A Novel About IT, DevOps, and Helping Your Business Win

ISBN 978-981-18-2531-6 (electronic)

I want this!

A book, sample script, sample project, cheat sheet, and free upgrades!


How to Automate macOS Application Notarization

0 ratings
I want this!