macos-signing-notarization

Community

Sign and notarize macOS Electron apps in CI

Authorarthur-debert
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the CI reliability problem of producing macOS Electron artifacts that are both correctly code signed and accepted by Gatekeeper through Apple notarization, avoiding slow or opaque built-in notarization steps.

Core Features & Use Cases

  • Code signing for Electron artifacts: Uses a Developer ID Application certificate provided as base64 (p12) so the app bundle is signed deterministically by electron-builder during packaging.
  • Apple notarization via App Store Connect API key: Submits, polls, and staples the DMG using xcrun notarytool with AuthKey.p8 generated at runtime from secrets, avoiding Apple ID/password and 2FA issues in CI.
  • CI-friendly workflow steps with guardrails: Splits submit/poll/staple so you can see queue progress, applies a non-blocking notarization timeout, and ensures artifact release continues even if notarization is delayed.

Use case: You ship an Electron macOS app on every release and need a known-good workflow that handles certificate format pitfalls (legacy PKCS12), hardened runtime entitlements, and reliable notarization ticket stapling before uploads.

Quick Start

Add the three workflow steps (submit, poll, staple) after electron-builder packaging, using the required GitHub Actions secrets for the certificate and App Store Connect API key.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: macos-signing-notarization
Download link: https://github.com/arthur-debert/release/archive/main.zip#macos-signing-notarization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.