Xamarin Studio on my Mac - No valid iPhone code signing keys found in keychain - Identity Signature: No private key

So, I'm trying to run a project in Xamarin Studio on my device. I get the error "There are no valid iOS code signing keys found in the keychain."

I created a new iOS development certificate, as shown here:

enter image description here

Then I downloaded the certificate and opened it to add it to the keychain. Here he is in keychains:

enter image description here

Then I created a training profile. I added the appropriate devices and installed the certificate on the one I just created. Viewing the section for editing the provisioning profile that you see is installed on the correct certificate:

enter image description here

After all this, I went to Xcode, then clicked Xcode-> settings. I added my AppleID and looked at the details in the account. Everything seems to be there, except that the iOS signature identifier called "Missing Private Key".

enter image description here

I guess that is why I got an error in Xamarin Studio. How can i fix this?

+5
source share
1 answer

The private key is generated when you create the code signing request certificate (CSR). If you did not create the CSR from the same Mac where you upload the certificate, it will not have the private key used to create the certificate. If you created CSR from the same Mac, then your private key will probably be deleted.

The best solution now is to create a new CSR, create a new development / distribution certificate and a new training profile.

+3
source

Source: https://habr.com/ru/post/1212293/


All Articles