Skip to content

Step-by-step macOS notarization workflow for Developer ID distribution, built on xcodebuild and the asc CLI.

CCM score
73 of 100
skills.sh installs
7K
GitHub stars
1.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the archive, Developer ID export, signature verification, ZIP packaging, notarization submission, log review, and stapling
  • Includes preflight checks for the Developer ID Application identity and a read-only trust-settings inspection before any repair is attempted
  • Enforces a stop before packaging or upload when signature verification fails, and avoids --sign or --force during verification
  • Designed for macOS apps distributed outside the App Store, with separate handling for DMG, PKG, and Developer ID Installer signing

Install

$ npx -y skills add rorkai/app-store-connect-cli-skills --skill asc-notarization -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

macOS Notarization

Use this skill when you need to notarize a macOS app for distribution outside the App Store.

Preconditions

  • Xcode installed and command line tools configured.
  • Auth is configured (asc auth login or ASC_* env vars).
  • A Developer ID Application certificate in the local keychain.
  • The app's Xcode project builds for macOS.

Preflight: Verify Signing Identity

Before archiving, confirm a valid Developer ID Application identity exists:

security find-identity -v -p codesigning | grep "Developer ID Application"

If no identity is found, create one at https://developer.apple.com/account/resources/certificates/add (the App Store Connect API does not support creating Developer ID certificates).

Inspect Trust Settings

If codesign or xcodebuild fails with "Invalid trust settings" or "errSecInternalComponent", the certificate may have custom trust overrides that break the chain:

# Check for custom trust settings
security dump-trust-settings 2>&1 | grep -A1 "Developer ID"

Details

Repository
github.com/rorkai/app-store-connect-cli-skills
Categories
Mobile Apps, DevOps & Cloud
First seen
Jun 3, 2026

More from rorkai/app-store-connect-cli-skills

All 23

Similar to Asc Notarization

More Mobile Apps