macOS App Without Xcode

    1

    Build, sign and ship a real native Mac app from a single Swift file.

    $6.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    macOS App Without Xcode

    Example session with this skill installed

    Turn my single MyApp.swift SwiftUI file into a real double-clickable Mac app with no Xcode project, and make its floating panel show proper glass instead of a flat dark card.

    • Read your context and instructions
    • Compiled the macos app without

    Example session (illustrative; paths and names will match your project).

    1. Build script (build.sh)

    #!/bin/bash
    set -euo pipefail
    APP=MyApp.app
    rm -rf "$APP"
    mkdir -p "$APP/Contents/MacOS" "$APP/Contents/Resources"
    swiftc -O -parse-as-library MyApp.swift -o "$APP/Contents/MacOS/MyApp"
    cp Info.plist "$APP/Contents/Info.plist"
    cp AppIcon.icns "$APP/Contents/Resources/" 2>/dev/null || true
    codesign --force --sign - "$APP"
    echo "Built $APP"
    

    2. Info.plist essentials
    CFBundleExecutable MyApp, CFBundleIdentifier com.example.myapp, CFBundleIconFile AppIcon, LSUIElement true for a menu-bar or panel app with no Dock icon.

    3. Glass fix
    The panel looked flat because .ultraThinMaterial inside a borderless NSPanel blends with the window's own background, not the desktop. The fix is to host the SwiftUI view on an NSVisualEffectView with blendingMode = .behindWindow and state = .active, and make the panel non-opaque with a clear background.

    4. Panel behaviour
    A borderless, non-activating NSPanel that floats above other windows, resizes from the top edge in step with the SwiftUI spring animation, and closes on Esc.

    5. Rebuild loop
    Run ./build.sh && open MyApp.app. If the old icon still shows, touch the bundle and re-register it with LaunchServices.

    Next steps

    • Add a menu-bar item, or a native admin prompt for one privileged action.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    An Xcode project is a large, opaque artifact for what is often a few hundred lines of SwiftUI. This skill shows your agent how to compile with swiftc, assemble the .app bundle, write the Info.plist and ad-hoc codesign, all from one reviewable source file.

    It includes the full floating HUD and Dynamic Island style panel recipe: a borderless non-activating NSPanel, top-anchored resizing synced to a SwiftUI spring, and Esc handling. It also covers the fix for the most common glass bug, where .ultraThinMaterial renders as a flat card inside a borderless panel and you need behind-window vibrancy. Icon caching, LaunchServices registration and a fast rebuild loop are covered too.

    Use cases

    • Ship a menu-bar or floating-panel utility without an Xcode project
    • Fix a glass panel that renders flat and dark
    • Add a native admin password prompt for one specific privileged action
    • Set up a one-command reproducible build script

    Requires macOS and Swift CLI tools. Top-level code must be in main.swift. Apple Silicon requires manual codesign --force. Native glass requires specific blending modes.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    Requires

    Swift toolchain
    macOS

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    Compiles Swift with swiftc and writes the .app bundle in your project folder.

    Listed1 month ago

    What's inside

    Frequently Asked Questions

    This skill allows you to build fully functional macOS apps using a single Swift file and the command line, bypassing the massive storage requirements and complex project management associated with Xcode.

    Yes, the skill is specifically optimized for Apple Silicon (M1/M2/M3) and Intel Macs, providing the specific compiler flags and codesigning steps required for modern macOS security.

    The skill provides the logic for creating standard `.app` bundles, floating HUDs via NSPanel, and menu-bar accessories, all with native glass and vibrancy effects.

    You only need a macOS environment with the Swift Command Line Tools installed (which are much lighter than the full Xcode IDE) to compile and run your apps.

    You receive the specialized logic for single-file compilation, automated directory bundling, Info.plist generation, and the exact commands needed to sign and register your app for immediate use.

    This skill is designed to work with any AI agent capable of executing shell commands or providing structured code output, though it is most effective when used with agents that have filesystem access.

    New in Mobile Development