IOS distribution profile missing private key in keychain

.After building a project in xcode and moving on to distribute this project I get blocked because of what appears to be a missing private key in the keychain of the IOS distribution profile Login. And I can't find a way to do this probably very trivial task.


By by means of Google I have seen a lot of examples of how to add a private key to the keychain but it seems like these examples are all different in context and point in different directions.



My proper team role is that of an Admin.


I have created a private key in the keychain 'login' by means of ' Request a Certificate from a Certificate Authority' following the official developer support page. I chose the email address of my AppleID and name of the current user login. But how to connect this to the profile with the certifications and with which the project is deployed succesfully by xcode remains an open question. Any piece of advice on this would be of great value

Post not yet marked as solved Up vote post of HenrikSH Down vote post of HenrikSH
28k views

Replies

Forgot to add som screenprints to help explain the problem:

http://scarbo.dk/testflight/managecerficate.png

http://scarbo.dk/testflight/distribute_app_error.png

Using xcode Window > Organizer > Archives helped me to add new iOS Distribution certificate with an included private key.

This link, item 67, helped me a lot: https://stackoverflow.com/questions/47256780/distribution-certificate-private-key-not-installed