SS

    Streamlined Signed DMG Release Process

    by Carlano Technology Solutions

    1

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

    Free

    Security scanned

    Works with the AI Agents you already use

    SS

    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

    StepActionStatus/Command
    1. Fetch LogsRetrieve Apple's feedbackscripts/notary-doctor.sh log <submission-id>
    2. AuditCheck credentials and profilescripts/notary-doctor.sh check
    3. ResumeFinalize DMG after fixscripts/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 runtime flag during signing.
    • Entitlements: The get-task-allow entitlement is set to true (must be false for production).
    • Timestamp: Missing a secure timestamp during the codesign phase.

    Next steps

    1. Provide the Submission ID from your last build attempt so I can pull the logs.
    2. Once we fix the signing flags, we will run notary-doctor.sh finish to re-submit the existing artifact.
    3. We will then run verify-dmg.sh to 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 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.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Read Files
    Write Files
    Network Access

    It needs the Apple Developer Account of the User

    Listed9 days ago
    Updated5 days ago

    What's inside

    Frequently Asked Questions

    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.

    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.

    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.

    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.

    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.

    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.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    Free