JordanCoin/ios-skills-collection / skills/dimillian--macos-spm-app-packaging
macos-spm-app-packaging
FlaggedScaffold, build, and package SwiftPM-based macOS apps without an Xcode project. Use when you need a from-scratch macOS app layout, SwiftPM targets/resources, a custom .app bundle assembly script, or signing/notarization/appcast steps outside Xcode.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.7 KB |
| assets/templates/bootstrap/Package.swift | script | 334 B |
| assets/templates/bootstrap/Sources/MyApp/Resources/.keep | other | 0 B |
| assets/templates/bootstrap/Sources/MyApp/main.swift | script | 173 B |
| assets/templates/bootstrap/version.env | config | 39 B |
| assets/templates/build_icon.sh | script | 1.5 KB |
| assets/templates/compile_and_run.sh | script | 1.8 KB |
| assets/templates/launch.sh | script | 767 B |
| assets/templates/make_appcast.sh | script | 2.1 KB |
| assets/templates/package_app.sh | script | 6.0 KB |
| assets/templates/setup_dev_signing.sh | script | 1.3 KB |
| assets/templates/sign-and-notarize.sh | script | 1.7 KB |
| assets/templates/version.env | config | 39 B |
| references/packaging.md | markdown | 783 B |
| references/release.md | markdown | 1.2 KB |
| references/scaffold.md | markdown | 1.6 KB |
references/release.md
View on GitHub# Release and notarization notes
## Notarization requirements
- Install Xcode Command Line Tools (for `xcrun` and `notarytool`).
- Provide App Store Connect API credentials:
- `APP_STORE_CONNECT_API_KEY_P8`
- `APP_STORE_CONNECT_KEY_ID`
- `APP_STORE_CONNECT_ISSUER_ID`
- Provide a Developer ID Application identity in `APP_IDENTITY`.
## Sparkle appcast (optional)
- Install Sparkle tools so `generate_appcast` is on PATH.
- Provide `SPARKLE_PRIVATE_KEY_FILE` (ed25519 key).
- The appcast script uses your zip artifact to create an updated `appcast.xml`.
- Sparkle compares `sparkle:version` (derived from `CFBundleVersion`), so bump `BUILD_NUMBER` for every release.
## Tag and GitHub release (optional)
Use a versioned git tag and publish a GitHub release with the notarized zip (and appcast if you host it on GitHub Releases).
Example flow:
```
git tag v<version>
git push origin v<version>
gh release create v<version> CodexBar-<version>.zip appcast.xml \
--title "AppName <version>" \
--notes-file CHANGELOG.md
```
Notes:
- If you serve appcast from GitHub Releases or raw URLs, ensure the release is published and assets are accessible (no 404s).
- Prefer using a curated release notes file rather than dumping the full changelog.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |