Get apps notarized within five minutes without any human intervention!

How to Automate macOS Application Notarization
  • You know how to notarize apps using Xcode’s Organizer UI, but do you know how to do it in a Continuous Integration (CI) process?
  • Do you already have a CI build process but not sure how to integrate notarization into it?
  • Is your company’s CI process so complicated that you’re not sure where and how to insert notarization?

Or maybe you don’t notarize your applications at all and instruct your users to dismiss the “App cannot be opened because the developer cannot be verified” dialog? That would not provide a good user experience, would it?

Application cannot be opened because the developer could not be verified
Application Not Notarized Error Dialog

Have you been building and notarizing apps manually? Is all that time well spent? Wouldn’t it be great if you can have fully built and notarized application automatically at the end of each work day?

Have you been frantically looking for instructions to integrate notarization into a CI build process?

How to Automate macOS Application Notarization helps you to integrate notarization as part of a CI process. Say goodbye to manually building and notarizing apps but hello to getting a fully notarized app on every automated build.

With this book you will get:

  • Step-by-step guide to create an automated notarization pipeline.
  • Command reference as well as output reference of relevant notarization tools.
  • Sample script that you can integrate into a pre-existing build system.

Stop spending precious developer time for manual work and let computers do all of the measly labor—that’s what they are for, right?

Sounds good? The following table shows what you will get with the book.

Just the BasicsProfessional EditionFuture Proof Edition
PDF Book✔︎✔︎✔︎
ePub Version✔︎✔︎
Cheat Sheet✔︎✔︎
Sample Xcode Project✔︎✔︎
Sample Notarization Script✔︎✔︎
Free Upgrade to Xcode 14✔︎
List Price$19.84$27.18$35.32

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 up front1 as well as time spent to build and notarize apps manually.

Still not convinced? See below for the table of contents of the book. It is about 79 pages long, formatted for A5 paper—perfect for reading on a MacBook in two-facing pages mode or on an iPad mini in one-facing page mode. Furthermore the ePub version would be convenient for reading in Apple Books.

  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

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.

  1. At the median rate of $50/hour for macOS developers on Upwork.