Getting error "Missing private key for signing certificate" when building a project in XCode

Dear sir/madam,

One of our customers handed us their provisioning profile and a .p12 file containing their code signing certificate and private key, so we can build our app for them to use their own distribution channels.

I installed the certificate on my Mac using their password (successfully) and imported their provisioning profile in XCode under "Signing and Capabilities".

Also, under Build settings / Signing, I changed the values for Code Signing Identity, Development team and Provisioning Profile to match those provided by our customer.

However, I get the following message:
Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Distribution: N.V. Waterleidingmaatschappij Drenthe" in the keychain.

Do you have any idea how I can solve this problem, or do you need more information in order to solve this. If yes, please let me know which information you need.

Kind regards,

Erwin de Brouwer
Senior Software Engineer
Pincode Telenet International
The Netherlands
Getting error "Missing private key for signing certificate" when building a project in XCode
 
 
Q