What problem does it solve?
This Skill removes the friction of creating, building, and distributing a SwiftPM-based macOS .app bundle without relying on an Xcode project, so you can package and release SwiftUI/AppKit apps in a repeatable way.
Core Features & Use Cases
- Bootstrap a SwiftPM macOS app skeleton (no Xcode): Start from a ready folder template and align targets, resources, and versioning with packaging scripts.
- Package into a proper .app bundle: Assemble the app bundle structure, embed SwiftPM resource bundles, and include frameworks when produced by SwiftPM.
- Code sign, notarize, and optionally generate appcast/releases: Support ad-hoc signing for development and Developer ID signing + notarization steps for distribution, including Sparkle appcast generation when desired.
- Validation checkpoints: Provide targeted checks for the packaged bundle, codesigning, notarization stapling, and common failure modes like entitlements mismatches or hardened runtime omissions.
Use Case example: You want to release a lightweight SwiftUI macOS app built with SwiftPM, packaged into a zip for distribution (and optionally Sparkle updates), with explicit signing/notarization steps driven by scripts rather than Xcode.
Quick Start
Use the macos-spm-app-packaging skill to scaffold a new SwiftPM macOS app folder from the provided bootstrap template, then package it by copying the packaging scripts into your repo and running the compile-and-run script.