Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phonegap Build Error: no iPhone Developer/Distribution identity found on your certificate

Does anybody have experience build app with PhoneGap's Build Service?

I followed the steps and created a .p12 file and the provisioning profile file. When I uploaded the keys, it does not build my iOS App giving the following error/warning:

no iPhone Developer/Distribution identity found on your certificate

The steps I followed are:

1) Using Keychain Access: Keychain Access -> Certificate Assistant -> Request Certificate from a Certificate Authority

2) Provided the email address which I used to register on Apple Developer Program

3) I am not sure if the 'Common Name' matters, but I used a custom name

4) 2048 bits RSA key pair value

5) From the iOS Development Portal, followed the wizard "Launch Assistant, to generate the provisioning profile.

6) Downloaded the developer certificate and provisioning profile

7) Exported the private key created above by giving a password to generate the .p12 file

8) Used the .p12 file & provisioning profile created in last two steps in the 'signing' section of PhoneGap's build service.

Has anybody faced a similar problem. Am I doing something wrong?

like image 213
Mahendra Liya Avatar asked Aug 01 '11 09:08

Mahendra Liya


1 Answers

From my experience I have found that this is actually caused when you inter mix the public/private keys, certificates and provisioning profiles from multiple developer accounts.

So, to eliminate the problem I deleted the public & private key for the account which I wanted to use in PhoneGap build and even deleted the certificate; then followed the steps mentioned in my question and it worked like charm.

In short, give it a scratch start and generate the files again...

like image 190
Mahendra Liya Avatar answered Oct 12 '22 17:10

Mahendra Liya