Reputation: 960
I have the problem while attaching distribution certificates to Enterprise app. Xcode throwing an error
Provisioning profile doesn't include any certificate for which the matching private key is installed in the keychain (Xcode 8).
I have searched a lot but didn't find satisfactory answer for Xcode 8 (latest answer).
I have following queries on solutions I found in the internet:
Use Automatically manage signing: is it not going to create any issue for other apps using the same distribution certificate?
Export private key from older machine: https://stackoverflow.com/a/12867963/2741603 posted long ago, still is this going to work ? or do we have any other new alternatives?
Upvotes: 6
Views: 9840
Reputation: 7008
I'm having this issue. My UDID is in the provisioning profile. I've downloaded the development provisioning profile and still get:
Provisioning profile "ProfileName" doesn't include any certificate for which the matching private key is installed in the keychain.
Not sure what to do to rectify
Upvotes: 0
Reputation: 10329
I faced the same issue and I was missing the installation of APNS's .p12 certificate on my mac. After installation of .p12 certificate problem was resolved.
Upvotes: 0
Reputation: 3031
This is what worked for me:
Good luck!
Upvotes: 2
Reputation: 1690
Your Keychain is missing the certificate i.e. p12 file for the selected provisioning profile. You have to just open the .p12 file , if you have already else create a new one from your apple developer account. Then Clean and Build your Xcode Project.
I will solve your issue.
Upvotes: 2