iOS error in xcode when trying to run app on iphone

chenks

macrumors 6502a
Original poster
Oct 23, 2007
964
1
UK
i'm getting the following error when i try and run the created app on an iphone.



any ideas why?
i've imported all the relevant certs etc (as per the tutorial videos on developer.apple.com/iphone).
 

sneha

macrumors newbie
May 24, 2009
27
0
India
This problem is there when the certificate is not installed properly.Have you properly gone through the process??

From which pc did you sent the CSR request ??
 

chenks

macrumors 6502a
Original poster
Oct 23, 2007
964
1
UK
yes, as stated originally, i went thru all the appropriate certificate creation and importing as per the instructions on developer.apple.com (following the video tutorials).

the xcode developement mac is the same mac that the certificates were created and imported on.
 

dejo

Moderator
Staff member
Sep 2, 2004
15,981
450
The Centennial State
What does your Keychain Access app say you have for your developer certificate? (A screenshot of that and your code signing settings would, if you're willing, help).
 

chenks

macrumors 6502a
Original poster
Oct 23, 2007
964
1
UK
What does your Keychain Access app say you have for your developer certificate? (A screenshot of that and your code signing settings would, if you're willing, help).
tell me how to get this info and i will.
 

chenks

macrumors 6502a
Original poster
Oct 23, 2007
964
1
UK
Um, if you're not sure how to get this info, then I'm not sure you've followed the steps that Apple requires. If you had, I would think it would be fairly obvious how to get it. :confused:
well i have followed the steps that apple requires (and used the tutorial videos to do it).

i'm just not overly familiair with they keychain app itself.
 

dejo

Moderator
Staff member
Sep 2, 2004
15,981
450
The Centennial State
well i have followed the steps that apple requires (and used the tutorial videos to do it).
Have you followed all the steps outlined in the Program Portal? (I don't know if the videos cover all this; I've never watched them.)

i'm just not overly familiair with they keychain app itself.
Open up Keychain Access and view the My Certificates category. Open your iPhone Developer cert.
 

chenks

macrumors 6502a
Original poster
Oct 23, 2007
964
1
UK
Have you followed all the steps outlined in the Program Portal? (I don't know if the videos cover all this; I've never watched them.)
again, yes

Open up Keychain Access and view the My Certificates category. Open your iPhone Developer cert.
in login / my certificates there is nothing
in login / certificates there is the "iphone developer: myname" certificate
 

chenks

macrumors 6502a
Original poster
Oct 23, 2007
964
1
UK
not seeing anything in there about a private key. can see public key info.

in login/keys i have both a public and private key listed
 

dejo

Moderator
Staff member
Sep 2, 2004
15,981
450
The Centennial State
not seeing anything in there about a private key. can see public key info.

in login/keys i have both a public and private key listed
So, you have no private key associated with your iPhone Developer certificate. I would just go ahead and generate a new CSR.
 

chenks

macrumors 6502a
Original poster
Oct 23, 2007
964
1
UK
should the existing private key (created as per the dev instructions) not be associated with it?

i assume this is done via "request a certificate from a certificate authority"?
 

chenks

macrumors 6502a
Original poster
Oct 23, 2007
964
1
UK
ok sorted.

i revoked the certificate in developer tools and re-uploaded a new one, and then downloaded that and imported into keychain.

now resolved.
 

Similar threads

Register on MacRumors! This sidebar will go away, and you'll see fewer ads.