How to Automate macOS Application Notarization
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
-
Introduction
About the Book
Is this for You?
-
The Notarization Workflow
Workflow Elements
Authorization & Authentication
Parsing Output
-
Command Reference
Submit
Get Notarization Log
Staple Notarization Results
Product Validation
-
Xcode Bot Integration
Pre-Requisites
Project Setup
Server Setup
Xcode Server Configuration
Xcode Bot Setup
Troubleshooting
-
Next Steps
Securing Credentials
Hardened Runtime
Non-App Bundles
Other CI/CD Systems
-
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)
A book, sample script, sample project, cheat sheet, and free upgrades!