# Streamlined Signed DMG Release Process

> >This skill helps a user release a fully signed Apple approved DMG file for release to the general public.

Streamlined Signed DMG Release Process is a free AI agent skill on Agensi by Carlano Technology Solutions. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Carlano Technology Solutions](https://www.agensi.io/creators/carlano-technology-solutions)
- Version: 1.2
- Last updated: 2026-11-29
- Security: scan passed (2026-11-29); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/streamlined-signed-dmg-release-process
- Tags: macos, notarization, code-signing, dmg, release-engineering

## 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 `xcodebuild` archive to `create-dmg` generation.
- **Validates security compliance** with built-in hardened runtime checks and leak scans to prevent sensitive developer paths from reaching production.
- **Simplifies notarization** using `notarytool` with 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
1. **Configuration**: Copy `release.conf` and define your Team ID, signing identity, and app-specific paths.
2. **Preflight**: Run the preflight check to catch expired certificates or lapsed Apple agreements before starting a long build.
3. **Execution**: Run the build script to compile, sign, and submit the app for Apple notarization.
4. **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.

## Requires

- Runs on macOS only

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Streamlined Signed DMG Release Process skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What exactly is included in the Signed Dmg Release skill package?

The skill provides a pre-configured release pipeline including a configuration template, preflight validation scripts, a 'doctor' tool for diagnosing Apple API errors, and a battle-tested DMG creation workflow.

### Can I use this skill to prepare my app for distribution on my own website?

Yes, this skill is specifically built for direct-to-consumer distribution; it automates the Developer ID signing and notarization process required for Gatekeeper approval outside the Mac App Store.

### Can I run this build pipeline on a Linux-based CI/CD runner or Windows machine?

No, this skill is strictly for macOS environments as it relies on Xcode command-line tools, `notarytool`, and the macOS-exclusive `codesign` utility to function.

### How does the skill handle 'status Invalid' errors during the Apple notarization step?

The skill includes a specialized diagnostic library that interprets Apple's often cryptic notarization logs, identifying the specific entitlement or signing error causing the 'Invalid' status.

### Does this work for apps built with frameworks like Electron or Flutter, or just native Swift apps?

While optimized for native Xcode projects, the skill can sign and notarize any macOS binary or app bundle as long as you have the required Apple Developer Program certificates.

### What are the prerequisite tools I need to have installed before using this skill?

You will need a valid Apple Developer Program membership, a Developer ID Application certificate installed in your keychain, and the `create-dmg` utility installed on your system.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
