Xcode 8 shows error that provisioning profile doesn't include signing certificate

后端 未结 30 1832
太阳男子
太阳男子 2020-11-28 17:55

Xcode 8 shows error that provisioning profile doesn\'t include signing certificate.

This issue is with Xcode-8 only with Xcode 7, same provisioning profile showing r

相关标签:
30条回答
  • 2020-11-28 18:36

    "Enable automatic signing" and then selecting a team from the drop-down menu helped me with this exact problem.

    0 讨论(0)
  • 2020-11-28 18:36

    The issue seems to start happening in Xcode 11.

    • Go to Apple Developer
    • Find the right provision profile
    • Press Edit in the right upper corner
    • Choose the (Distribution) option in Certificates. (I think it's a new option/certificate type that apple introduced though I couldn't find any documentation)
    • Optional: Delete all you provision profiles in (~/Library/MobileDevice/Provisioning Profiles/)
      go to Xcode ->Preferences->Accounts->Download Manual Profiles

    0 讨论(0)
  • 2020-11-28 18:37

    I had remaining private keys from certificates I had revoked, certificates were gone but not the private keys. Deleting them solved the problem.

    To find them:

    1. Open Keychain access
    2. Click "Keys" under category on the side left menu
    3. Look for iOS Developer: ..." keys that do not have a certificate tied to them
    4. I deleted them and problem went away

    The highlighted key in the picture is a sample private key without a certificate.

    0 讨论(0)
  • 2020-11-28 18:37

    I haven't seen this mentioned yet but if you are still having issues after recreating your provisioning profiles, deleting the existing ones you have in your Provision Profiles folder, checking for dupes in your Keychain, etc (all other answers ITT), open your Target > Build Settings > Code Signing and make sure everything looks consistent in there. For example, I had changed the Code Signing Identify for Debug to a Distribution identity, which obviously wouldn't work as the Development Provisioning Profile doesn't have the Distribution certificate and was causing the error in the first place.

    0 讨论(0)
  • 2020-11-28 18:38

    Xcode 11

    This is the error I got

    Provisioning profile "XXX" doesn't include signing certificate "Apple Development: XXX (XXX)".```

    Now Xcode 11 automatically created a certificate "Apple Development: XXX" which is valid for all platforms

    You just need to

    1. Go to https://developer.apple.com
    2. Go to your provisioning profile
    3. Check if this certificate is selected
    0 讨论(0)
  • 2020-11-28 18:39

    I had the same issue and reason was penny. Wrong profile and certificate was selected in build settings. I only had did this before few days. So, you do not need to enable "automatic" inside xcode. Check profiles inside your build settings before doing it.

    0 讨论(0)
提交回复
热议问题