Profile doesn't match any valid certificate/private-key pair in the default keychain

﹥>﹥吖頭↗ 提交于 2019-12-02 17:17:41

You need the private key associated with the distribution certificate.

Request the person who created the distribution certificate for the company for the private key associated with the distribution certificate. Get him to export the private key from his keychain! Ask him to remember to select both the distribution certificate and private key together before right clicking and exporting it as .p12 Select both the distribution certificate and private key together before right clicking and exporting it as .p12

Once you open the .p12 it should pair up with the distribution certificate (the .cer file you should already have in your keychain). Your provisioning profile should work fine then!

Let me know if it works!

hdsenevi

I came across the same issue and for some bizarre reason the method clearwater82 suggested didn't work.

But I found out this documentation on apple developer site. Might be helpful for someone else. It's just two simple steps.

FIRST STEP : Exporting Your Code Signing Assets to Your File System

SECOND STEP : Importing Your Code Signing Assets from Your File System

Hope this helps someone!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!