macos-spm-app-packaging

Automate macOS app build, packaging, signing, and notarization with Swift Package Manager.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/robinsalehjan/superlego --skill macos-spm-app-packaging-robinsalehjan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: macos-spm-app-packaging
Source: https://github.com/robinsalehjan/superlego/tree/main/skills/macos-spm-app-packaging
Command: npx skills add https://github.com/robinsalehjan/superlego --skill macos-spm-app-packaging-robinsalehjan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires create-dmg, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the process of building, packaging, signing, and notarizing macOS applications using Swift Package Manager, eliminating the need for Xcode for these tasks.

Core Features & Use Cases

  • Project Scaffolding: Bootstrap a new macOS app project with SwiftPM.
  • Build & Package: Compile and assemble the .app bundle.
  • Signing & Notarization: Automate code signing and Apple notarization for distribution.
  • DMG Creation: Generate disk image installers.
  • Use Case: You need to create a command-line tool or a simple macOS app that is distributed via Swift Package Manager, and you want to automate the entire release process, including signing and notarization, without opening Xcode.

Quick Start

Use the macos-spm-app-packaging skill to scaffold a new SwiftPM macOS app project.

Frequently Asked Questions about macos-spm-app-packaging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I package and sign a macOS app using Swift Package Manager without Xcode?

You can package and sign a macOS app using Swift Package Manager without Xcode by automating the creation, building, and codesigning of the `.app` bundle through dedicated scripts. This skill handles the entire process, including bootstrapping the project and managing app bundles independently.

Can I automate Apple notarization for a SwiftPM app via the command line?

Yes, you can automate Apple notarization for a SwiftPM app via the command line by integrating `notarytool` into your release workflow. This skill streamlines the submission and notarization process, allowing distribution without opening Xcode.

What is the best way to create a DMG disk image installer for a SwiftPM macOS app?

The best way to create a DMG disk image installer for a SwiftPM macOS app is by using the `create-dmg` dependency. This skill optionally integrates `create-dmg` to generate disk image installers after building and signing your application bundle.

Do I need Xcode to build and distribute macOS applications built with SwiftPM?

No, you do not need Xcode to build and distribute macOS applications built with SwiftPM. This skill eliminates the need for Xcode by automating project scaffolding, app bundle assembly, code signing, and notarization entirely through command-line tools.

What tools are required to automate macOS app signing and notarization for SwiftPM projects?

To automate macOS app signing and notarization for SwiftPM projects, you need Swift Package Manager, `codesign`, and `notarytool`. Optionally, `create-dmg` is required if you want to generate DMG disk images for distribution.

How do I bootstrap a new macOS app project using SwiftPM?

To bootstrap a new macOS app project using SwiftPM, you can use this skill's project scaffolding feature. It automates the initial setup, allowing you to quickly start developing a command-line tool or simple app for distribution.