Macos runtime debugger

From Xopoko/build-swift-apps · View interactive version

Macos runtime debugger is an AI agent skill from the GitHub repository Xopoko/build-swift-apps. macOS app runtimes: build, launch, and debug Xcode or SwiftPM GUI/CLI targets with shell-first workflows; diagnose compiler, linker, startup, log, and telemetry failures; exclude iOS Simulator work.

How to use this skill

Skill file

macOS Runtime Debugger

Before invoking Apple-only binaries, confirm the execution context is macOS. From Windows or Linux, run those steps in a Mac SSH project or through an already configured remote transport; do not retry missing Apple binaries locally.

Use the project's existing build and run entrypoint. For a one-shot build,

launch, log, or debug task, use a direct command if there is no entrypoint.

For a reusable run loop, follow the

bootstrap procedure.

Workflow

  1. Read repository guidance and inspect existing scripts, run actions, Xcode

schemes, and package products. Select the requested target or the app's

runnable scheme or product.

  1. For Xcode, build the selected macOS scheme and open the resulting .app.

For a SwiftPM CLI, run the executable. For a SwiftPM AppKit or SwiftUI app,

stage and open a CODE0 bundle.

  1. Verify the fresh process or the requested app state. If a step fails, report

which command failed and quote the relevant compiler, linker, signing,

toolchain, script, or launch error.

Debugging

Report the command, observed build or launch result, and any files created.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.