The Provisioning profile does not contain any certificate for which the corresponding private key is installed in the keychain

I had a problem connecting distribution certificates to an Enterprise application. Xcode Error

The Provisioning profile does not contain a certificate for which the corresponding key key is installed in the keychain (Xcode 8).

I searched a lot, but did not find a satisfactory answer on Xcode 8 (last answer).

I have the following queries for solutions I found on the Internet:

  • Use Automatically manage your subscription: is it going to create any problems for other applications using the same distribution certificate?

  • Export the private key from the old machine: https://stackoverflow.com/a/166269/2126128 or do we have any other new alternatives?

+5
source share
2 answers

This is what worked for me:

  • Create a new production certificate from the machine with which you need to install.
  • Create a new ad-hoc provisioning profile and verify that the newly added certificate is included in it.
  • Download both files to your computer and double-click them.
  • Select a new provisioning profile in Xcode Code Signature Settings

Good luck

+2
source

There is no certificate in your keychain, i.e. p12 file for the selected training profile. You just need to open the .p12 file if you have already created a new account in Apple Developer. Then Clean and Create an Xcode project.

I will solve your problem.

+1
source

Source: https://habr.com/ru/post/1268156/


All Articles