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

后端 未结 30 1831
太阳男子
太阳男子 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:40

    For those who still struggle with this problem in Xcode8. For me was a duplicate Certificate problem, this is how I solved it:

    I read the answer of Nick and then I began my investigation. I checked all the keys and Certificates in my particular case (inside ~/Library/Keychains/System.keychain).

    When I opened the file, I found that I had two iPhone Distribution Certificates (that was the certificate that Xcode was requesting me), one with the iOS Distribution private key that I have been using since the beginning, and another iPhone Distribution Certificate which its private Key had a name (iOS Distribution:NAME) that wasn´t familiar for me. I deleted this last certificate, started Xcode again and the problem was gone. xCode wasn´t able to resolve that conflict and that´s why it was giving signing certificate error all the time.

    Check your keychains, maybe you have a duplicate certificate.

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

    I have the same problem. I changed the mac. And when I downloaded the Xcode certificate, I received an error message: "The error is that the security profile does not include the certificate signature."

    1) Go to https://developer.apple.com/account/ios/profile/limited/edit Select the project => edit => Certificates => Select All => Create => Download

    2) In Xcode: Project file => Signing (Debug) => Provisioning profile => Import profile => Select file with 1

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

    I was struggling with it for many days.

    Step 1: Deleted every certificates, provisioning profile, appID,Key etc from developer account.

    Step 2: Recreated the push notification certificates, provisioning profile, app ID etc.

    Step 3: Deleted all the certificates from keychain.

    Step 4: Cleared all the provisioning profile from ~/Library/MobileDevice/Provisioning Profiles.

    Step 5: Added only the required provisioning file and tested out. It works fine.

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

    Had the same error. Profiles seems renewed, new certificates added, i even checked it when download. Also revoked former developer's certificates, excluded from provision profile. But Xcode still asking me about previous certificates with error:

    No certificate for team 'MY_TEAM' matching 'iPhone Developer: FORMER_DEVELOPER' found
    

    so, what I did to fix it:

    1. Go Build Settings -> Signing -> Code Signing Identity
    2. Find all 'FORMER_DEVELOPER' certificates and choose needed.

    Hope it will help somebody.

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

    Here are the steps solved for me (For those who face the same problem in XCode 9.2):

    1. Just manually deleted local profiles in ~/Library/MobileDevice/Provisioning Profiles.

    2. Deleted and created all the certificates and provisioning profile from developers account.

    3. Removed developers account from Xcode and re-added it.

    Solved my problem! :-)

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

    Check your keychain for identities that are missing a private key. I had multiple distribution certificates installed for the same team, one of which was missing the private key. Xcode was only checking the first matching identity in the keychain and automatically using this as opposed to the one that did include the private key.

    Removing the matching identity that didn't have a private key made Xcode detect the correct identity again.

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