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

Discussion in 'iOS Programming' started by loon3y, Sep 17, 2012.

  1. macrumors 65816

    loon3y

    Joined:
    Oct 21, 2011
    #1
    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?
     
  2. macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #2
    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
     
  3. thread starter macrumors 65816

    loon3y

    Joined:
    Oct 21, 2011
    #3


    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.
     
  4. macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #4
    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 :/
     
  5. thread starter macrumors 65816

    loon3y

    Joined:
    Oct 21, 2011
    #5
    ohh ic ic, much thanks bro!

    :D
     

Share This Page