Search code examples
iosxcodeprovisioning-profile

Private key for signing certificate iPhone Distribution is missing-without creating new Production certificate and profile


I changed my Mac and when I opened my Xcode project after installing Production certificate and Provisioning Profile, it is showing:

Provisioning profile "MyProfile" doesn't include any certificate for which the matching private key is installed in the keychain.

One important thing is I cannot create production certificate or profile, without creating new production certificate and profile can we solve this?


Solution

  • It's not going to hurt anything to generate a new certificates & profiles. The existing app will continue to run and be sold just fine in the store.

    If you're the sole dev of the project, I'd just turn on automatic code signing in Xcode.

    If you're not, you could potentially have another dev export the cert you're missing and not have to recreate them.