Macos signing inspector

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

Macos signing inspector is an AI agent skill from the GitHub repository Xopoko/build-swift-apps. macOS app signing artifacts: inspect code signatures, entitlements, hardened runtime, sandbox, Gatekeeper, and trust failures; exclude distribution packaging and notarization submission.

How to use this skill

Skill file

macOS Signing Inspector

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 macos-notarization-packager when the goal is a distributable notarized artifact. Use appstore-notary-runner when the next step is executing asc notarization submit/status/log/staple commands.

Workflow

  1. Locate the .app or executable and identify the bundle's main executable

in Contents/MacOS/.

  1. Inspect the actual signature and entitlements with

codesign -dvvv --entitlements :- <path>. Verify signature validity with

codesign --verify --strict --verbose=2 <path>. Inspect any nested code

named in the failure.

  1. Use spctl -a -vv <path> for Gatekeeper assessment. Compare against

security find-identity -p codesigning -v if the signer is in question.

Read source entitlements and Info.plist with plutil -p <path> for

configuration mismatches.

  1. Report the inspected artifact, the observed signature or trust failure,

and the shortest repair or validation sequence. Base any proposed

entitlement on source configuration or the required capability.

Resources

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.