PDA

View Full Version : Code Sign Error:iPhone Distribution doesn't match any Keypair in Keychains




loon3y
Sep 17, 2012, 12:39 PM
Code Sign error: The identity 'iPhone Distribution' doesn't match any valid, non-expired certificate/private key pair in your keychains



what is the simplest way to resolve this problem? i develop with 3 programmers, and this came across before but i remember i deleted everything in keychains and downloaded the certificates again.


is there any other way? can one of the other developers send me their private key?



jnoxx
Sep 17, 2012, 12:46 PM
You can't just download your certificate again, it has to be binded to the provisioning files and distribution files. I heard now in Xcode you can let it generate via Organizer.. I still do it via developer.apple.com

loon3y
Sep 17, 2012, 01:04 PM
You can't just download your certificate again, it has to be binded to the provisioning files and distribution files. I heard now in Xcode you can let it generate via Organizer.. I still do it via developer.apple.com



i just played around with the distributors/developers list in build settings under code signings.

and it worked, honestly dont know why apple always has to make things so complicated.

because this same app worked on my computer a day ago, and now since there was changes, it had me stumped for 30 mins.

jnoxx
Sep 18, 2012, 12:42 AM
Certificates/Signing profiles are a hell in the beginning, but once you get it, it's quite easy, the best thing to do is once you have a valid certificate, is export it, and keep it somewhere online, like dropbox/my.cl/iCloud, whatever.
SO when you change mac, you can still build, otherwise you have to revalidate everything :/

loon3y
Sep 18, 2012, 09:42 AM
Certificates/Signing profiles are a hell in the beginning, but once you get it, it's quite easy, the best thing to do is once you have a valid certificate, is export it, and keep it somewhere online, like dropbox/my.cl/iCloud, whatever.
SO when you change mac, you can still build, otherwise you have to revalidate everything :/

ohh ic ic, much thanks bro!

:D