कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

macos-spm-app-packaging

dimillian द्वारा

iOS & macOS Development
1.9kclawskills.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 या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक