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

前端 未结 2 836
失恋的感觉
失恋的感觉 2021-01-31 12:10

I am developing an application for a company, they gave me the admin role so I can edit provisioning files. I am getting \"Valid signing identity not found for distribution file

相关标签:
2条回答
  • 2021-01-31 12:27

    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!

    0 讨论(0)
  • 2021-01-31 12:34

    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!

    0 讨论(0)
提交回复
热议问题