Automatic signing not working: iOS Distribution certificate but its private key is not installed (for newly generated certifcate!)

We have an enterprise app, with an outdated certification.

We have revoked/removed the old certificates/provising profiles in the developer portal and in the local keychain.

In xcode whe choose automatical signing and the correct team. A new developer certifcate was succesfully created by xcode and uploaded to the apple developer portal.

Creating an archive was sucessfull. From organizer->archive we distribute the archive as an enterprise app, including a manifest. We choose again "automatically signing". In the next step we create successfully a new iOS Distribution certificate (and export it as p12).

But in the next step the following message appears: "xzy" has one iOS Distribution certificate but its private key is not installed. Contact the..."

It's the newly generated certificate from the last step! Both the certificate and the private key is stored in the keychain!

Manually signing worked, but the app crashes immediately after opening on the ios-device!

We repeat the steps x times, cleaning/revoked all certifcates, restart mac, etc. - but no success.

Can anybody help me? Please! We are out wit's end.
Hello,

Any update on the issue? It happened to me as well!
Thank you in advance!
Same problem since yesterday, I did the same as you with no result, I am totally blocked from publishing my app :/
Facing similar issue with apple distribution certificate that is generated newly.. and in the next step it shows up as Private key is not installed.

Manually signing with a previously existing still valid "ios distribution certificate" is working. But the automatic codesigning is looking for only "apple distribution" certifcate. Any idea how to point to ios distribution certficate while automatically signing?
I am also having the same issue, I am struggling a lot to fix it, please help ASAP
Has anyone found a fix to this yet?
I'm having the same issue! Tried generating a new certificate 3 times already, and it always says the private key is not installed. It shows as OK in Keychain Access. Totally ridiculous situation, can't publish an important update for one of my apps.
I was facing the same problem with Xcode v11.3

Upgrading to Xcode 11.6 solved the problem for me

I hope this will help someone
Automatic signing not working: iOS Distribution certificate but its private key is not installed (for newly generated certifcate!)
 
 
Q