macos-spm-app-packaging

Bootstrap, build, and package macOS apps with SwiftPM without Xcode.

1|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/Pallepadehat/agentkit --skill macos-spm-app-packaging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: macos-spm-app-packaging
Source: https://github.com/Pallepadehat/agentkit/tree/main/.agent/skills/macos-spm-app-packaging
Command: npx skills add https://github.com/Pallepadehat/agentkit --skill macos-spm-app-packaging

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables developers to bootstrap a full macOS app layout using SwiftPM, build binaries, and package distribution assets without requiring an Xcode project.

Core Features & Use Cases

  • Bootstrap a SwiftPM-based macOS app skeleton from templates.
  • Build universal binaries for arm64 and x86_64.
  • Package, sign, notarize, and prepare Sparkle/appcast-ready releases.
  • Use references/packaging and references/release to guide packaging decisions.

Quick Start

Create a new repo, copy the templates from assets/templates/ into your project, customize APP_NAME and BUNDLE_ID, then run the packaging workflow (swift build, package_app.sh, and sign/notarize as needed).

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 a macOS app without Xcode using SwiftPM?

Package macOS apps with SwiftPM by bootstrapping a project from templates, customizing APP_NAME and BUNDLE_ID, then running swift build followed by package_app.sh to create distributable binaries and assets without requiring an Xcode project.

Can I build universal macOS binaries for both arm64 and x86_64 with SwiftPM?

Yes, SwiftPM supports building universal binaries for both arm64 and x86_64 architectures. This Skill automates that process within its packaging workflow to create single distributable files compatible across Apple Silicon and Intel Macs.

How do I set up code signing and notarization for macOS app releases?

Code signing and notarization are configured through entitlements files and version.env versioning schemes. The Skill's sign and notarization workflows automate these steps to prepare your app for authenticated, gatekeeper-approved distribution.

What's the process for creating a Sparkle appcast for automatic app updates on macOS?

Sparkle appcast workflows are built into the release process after packaging and notarization. The Skill generates appcast-ready release assets that enable end-users to receive automatic updates through the Sparkle framework.

Do I need to define custom build targets and resources when packaging macOS apps with SwiftPM?

Custom SwiftPM targets and resources are supported and often necessary for organizing binaries, frameworks, and distribution assets. This Skill guides you through defining those targets within templates to structure your app layout for packaging and signing workflows.