Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

axiom-code-signing-diag

БесплатноБез исполняемых скриптовНе проверен

Use when code signing fails during build, archive, or upload — certificate not found, provisioning profile mismatch, errSecInternalComponent in CI, ITMS-90035…

ComeOnOliverот ComeOnOliver★ 67 звёзд на GitHub

Об этом скилле

Code Signing Diagnostics

Systematic troubleshooting for code signing failures: missing certificates, provisioning profile mismatches, Keychain issues in CI, entitlement conflicts, and App Store upload rejections.

Overview

Core Principle: When code signing fails, the problem is usually:

  1. Certificate issues (expired, missing, wrong type, revoked) — 30%
  2. Provisioning profile issues (expired, missing cert, wrong App ID, missing capability) — 25%
  3. Entitlement mismatches (capability in Xcode but not in profile, or vice versa) — 15%
  4. Keychain issues (locked in CI, errSecInternalComponent, partition list) — 15%
  5. Archive/export issues (wrong export method, wrong cert type for distribution) — 10%
  6. Ambiguous identity (multiple matching certificates, Xcode picks wrong one) — 5%

Always verify certificate + profile + entitlements BEFORE rewriting build settings or regenerating everything.

Red Flags

Symptoms that indicate code signing–specific issues:

Symptom Likely Cause
"No signing certificate found" Certificate expired, revoked, or not in keychain
"Provisioning profile doesn't include signing certificate" Profile generated with different cert than the one in keychain
ITMS-90035 Invalid Signature Signed with Development cert instead of Distribution
ITMS-90161 Invalid Provisioning Profile Profile expired or doesn't match binary
errSecInternalComponent in CI Keychain locked or set-key-partition-list not called
"Ambiguous — matches multiple" Multiple valid certs with same name (dev + expired)
"Entitlement not allowed by profile" Capability added in Xcode but profile not regenerated
"codesign wants to access key" dialog Keychain access not granted to codesign
Build works locally, fails in CI Missing keychain setup steps (create, unlock, partition list)
"Profile doesn't match bundle ID" Bundle identifier mismatch between Xcode target and profile
Export fails after successful archive ExportOptions.plist specifies wrong method or profile
App extension signing fails Extension needs its own profile with matching team and prefix

Anti-Rationalization

Rationalization Why It Fails Time Cost
"Certificate was fine yesterday" Certificates expire and get revoked. Profiles auto-regenerate in portal changes. Always re-verify. 30-60 min debugging build settings when cert expired overnight
"Let me regenerate everything" Regenerating certificates revokes the old ones, breaking other team members and CI. Diagnose first. 2-4 hours + broken teammates + CI pipeline down
"I'll reset my keychain" Destroys ALL stored credentials (SSH keys, saved passwords, other certs). Diagnose the specific cert. 1-2 hours restoring all credentials
"Just disable code signing for now" Code signing can't be disabled for device builds or distribution. You'll hit the same issue later with less time. Wasted time plus the original problem remains
"It's an Xcode bug, let me reinstall" Code signing is configuration, not an Xcode bug. Reinstalling doesn't change your certificates or profiles. 2-4 hours reinstalling Xcode while the config stays broken
"I'll use the team provisioning profile" Xcode's auto-managed wildcard profile lacks specific entitlements (push, App Groups). It won't work for apps needing capabilities. 30+ min discovering missing capabilities
"CI worked before, nothing changed on our side" Apple revokes certificates for security reasons. CI runner macOS updates change keychain behavior. Provisioning profiles expire after 1 year. Hours of "but we didn't change anything" while the cert is expired
"Let me check the code first" Code signing errors are NEVER code bugs. They are 100% configuration — certificates, profiles, entitlements, and keychains. Hours debugging working code while the profile is expired
"Set build.keychain as default" security default-keychain -s build.keychain replaces the login keychain as default, breaking access to SSH keys, saved passwords, and other credentials. Use list-keychains -s instead. 30+ min restoring default keychain + mysterious SSH/credential failures

Mandatory First Steps

Before changing build settings or regenerating certificates, run these diagnostics:

Step 1: Check Signing Identities

security find-identity -v -p codesigning

Expected output:

  • At least one valid identity with "Apple Development" or "Apple Distribution"
  • Each shows SHA-1 hash + name + Team ID

Problems:

  • 0 valid identities → No certificates installed or all expired
  • Only "Apple Development" but trying to archive → Need Distribution certificate
  • Multiple entries with same name → Ambiguous identity (see Tree 5)

Step 2: Decode Provisioning Profile

# Find the profile being used
find ~/Library/Developer/Xcode/Deriv
Полный SKILL.md на GitHub

Установить axiom-code-signing-diag в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл axiom-code-signing-diag?

Use when code signing fails during build, archive, or upload — certificate not found, provisioning profile mismatch, errSecInternalComponent in CI, ITMS-90035 invalid signature, ambiguous identity, entitlement mismatch. Covers certificate, profile, keychain, entitlement, and archive signing diagnostics.

Как установить скилл axiom-code-signing-diag?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл axiom-code-signing-diag запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить axiom-code-signing-diag с