导航菜单

Certificates

Types

  • Apple Development: Debug/internal test; works with Development or Ad Hoc profiles.
  • Apple Distribution: App Store release and Ad Hoc; valid for one year.
  • Team tip: let CI or a designated admin generate/manage to avoid scattered ownership.

Create Steps (in Certificates, Identifiers & Profiles)

  1. Prepare a CSR (Keychain Access → Certificate Assistant, or openssl in CI).
  2. In “Certificates” create the type, upload CSR, download .cer.
  3. Double-click to import to Keychain, then export .p12 (with private key) with a strong password; back it up safely.

Renew/Revoke

  • Before expiry, create a new certificate, update profiles to reference it, then let CI/Xcode download again.
  • If the private key is lost or leaked, revoke and recreate, then refresh profiles.

Common Issues

  • “No valid signing certificate”: ensure certificate is in Keychain with matching private key.
  • Multiple machines: export .p12 + password and import elsewhere; or use Xcode automatic signing (requires Apple ID login).

搜索