本文へスキップ
TakoAPI
スキル一覧に戻る

macos-spm-app-packaging

dimillian 作

iOS & macOS Development
1.9kダウンロード数はclawskills.shが公開している値です
2スター
0閲覧数
0件のいいねサインインするとこのスキルにいいねできます
—まだ評価がありません
あなたの評価

概要

Scaffold, build, and package SwiftPM-based.

説明

このスキルでできること

Scaffolds, builds, and packages SwiftPM-based macOS apps without an Xcode project file. Provides template scripts for .app bundle assembly, code signing, notarization, and Sparkle appcast generation. Covers the full lifecycle from project bootstrap to GitHub release.

Removes the need for an Xcode project file, making the entire build and release pipeline scriptable and CI-friendly.

使いどころ

  • Setting up a new macOS menu bar app without Xcode
  • Packaging a SwiftPM binary into a distributable .app bundle
  • Automating notarization and stapling for a release build
  • Generating Sparkle appcast entries for over-the-air updates
  • Creating a dev-loop script that rebuilds and relaunches on each change

ワークフロー例

入力

User asks: scaffold a new macOS menu bar app and package it for distribution

エージェント
  1. 1

    Copy assets/templates/bootstrap/ into the new repo directory

  2. 2

    Rename MyApp references in Package.swift, Sources/, and version.env

  3. 3

    Set APP_NAME, BUNDLE_ID, and MENU_BAR_APP=1 in the packaging script

  4. 4

    Run swift build to verify the project compiles

  5. 5

    Run Scripts/package_app.sh to produce the signed .app bundle

出力

A signed .app bundle ready for notarization or direct distribution

要件

  • Apple Developer account (for code signing and notarization)
  • APPLE_ID, APP_PASSWORD, and TEAM_ID environment variables for notarization
  • Xcode command-line tools (for build_icon.sh only)

インストール

clawhub install dimillian/macos-spm-app-packaging

CLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。

リンク