Streamlined Signed DMG Release Process
>This skill helps a user release a fully signed Apple approved DMG file for release to the general public.
Free
Streamlined Signed DMG Release Process
Example session with this skill installed
My notarization just failed with an 'Invalid' status. I don't want to rebuild everything. Can you help me find out why and fix it?
- Read your context and instructions
- Compiled the streamlined signed dmg
I will help you diagnose the notarization failure without triggering a full rebuild. First, I will fetch the official Apple log to identify the specific file or rule violation.
Notarization Diagnosis
| Step | Action | Status/Command |
|---|---|---|
| 1. Fetch Logs | Retrieve Apple's feedback | scripts/notary-doctor.sh log <submission-id> |
| 2. Audit | Check credentials and profile | scripts/notary-doctor.sh check |
| 3. Resume | Finalize DMG after fix | scripts/notary-doctor.sh finish dist/MyApp_v1.0.dmg |
Identified Issues from Reference:
Based on the "Invalid" status, this often relates to:
- Hardened Runtime: Missing the
--options runtimeflag during signing. - Entitlements: The
get-task-allowentitlement is set totrue(must befalsefor production). - Timestamp: Missing a secure timestamp during the
codesignphase.
Next steps
- Provide the Submission ID from your last build attempt so I can pull the logs.
- Once we fix the signing flags, we will run
notary-doctor.sh finishto re-submit the existing artifact. - We will then run
verify-dmg.shto ensure Gatekeeper accepts the final result.
Connects securely to your tools. The creator never sees your data.
About this skill
Shipping macOS apps outside the Mac App Store is a minefield of codesigning identities, hardened runtime requirements, and notarization rejections. One missing entitlement or an expired certificate leads to Gatekeeper warnings that kill user trust. This skill provides a battle-tested pipeline to move from source code to a signed, notarized, and stapled DMG without the usual trial and error.
What it does
- Automates packaging by handling the full sequence from
xcodebuildarchive tocreate-dmggeneration. - Validates security compliance with built-in hardened runtime checks and leak scans to prevent sensitive developer paths from reaching production.
- Simplifies notarization using
notarytoolwith automated stapling and verification steps. - Diagnoses failures using a curated library of 16 specific macOS release error modes (e.g., exit code 65, status Invalid, or 403 Forbidden).
- Verifies artifacts through a post-build check that simulates a user download to ensure Gatekeeper approval.
How it works
- Configuration: Copy
release.confand define your Team ID, signing identity, and app-specific paths. - Preflight: Run the preflight check to catch expired certificates or lapsed Apple agreements before starting a long build.
- Execution: Run the build script to compile, sign, and submit the app for Apple notarization.
- Recovery: Use the doctor tool to fetch notarization logs or finish a failed submission without rebuilding from scratch.
Frameworks & tools
This skill requires macOS with Xcode, Apple Developer Program membership, notarytool, and create-dmg. It is designed for native apps, workspaces, and projects using Developer ID certificates.
Why this beats prompting it yourself
Standard LLMs often suggest generic codesign commands that miss the nuances of the hardened runtime or the stapling process required for DMGs. This skill includes specific scripts and a failure-mode database that account for real-world Apple API errors and keychain quirks that generic prompts cannot anticipate.
Use cases
- Preparing a production-ready DMG for direct website distribution.
- Fixing "status Invalid" notarization rejections with specific log analysis.
- Renewing expiring Developer ID certificates and updating the signing pipeline.
- Implementing a clean-install acceptance test to verify app behavior on new systems.
Known limitations
Targeted specifically at macOS and requires Xcode command-line tools; cannot run on Linux or Windows. It focuses on DMG distribution and does not support .pkg installer signing or App Store Connect submissions.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 5 days ago
- Free with an Agensi account
Requires
Mac only
Permissions
It needs the Apple Developer Account of the User
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.