Fix Codesign Error
Inspect a macOS signing or entitlement failure and explain the minimum fix path.
Arguments
app: path to.appbundle or binary (optional)identity: signing identity hint (optional)mode:inspectorrepair-plan(optional, default:inspect)
Workflow
- Inspect the app bundle, executable, signing info, and entitlements.
- Determine whether the problem is identity, provisioning, hardened runtime, sandboxing, or trust policy.
- Summarize the exact failure class in plain language.
- Provide the minimal repair sequence or validation command.
Guardrails
- Never invent entitlements; read them from the binary or source files.
- Distinguish local development signing problems from distribution or notarization failures.
- Prefer verifiable commands like
codesign -d,spctl, andplutilover guesswork.