Problems creating iOS app for distribution

I have been able to create an iOS app and install it on my device for testing (thanks Frying Bacon for the help). After several rounds of revisions, I am ready to create for distribution. The problem is that I can't get a valid distribution provisioning profile. When I go to sign the app, I get the message "could not code sign because there is no developer identity matching the selected provisioning profile".

When I go into the Apple Provisioning Portal and create a provisioning profile for development everything works fine. I can download it and install it so that it shows "valid profile" in Xcode. When I do the same thing for my distribution provisioning profile, the status shows "valid signing identity not found". I have followed every tutorial I can find and have no idea why it works for development profiles, but not for distribution profiles.

Thanks for your help,
Dave

Best Answer

Answers

  • djv1120djv1120 Member, PRO Posts: 17
    I have spent the last 2 hours digging through search results and Apple help documents. I eventually put 2 and 2 together. I have some apps on iTunes already that were created using another software. That program used my certificates to upload in my name. What appears to have been the problem is that I had a new development certificate from this time, but an old distribution certificate from before. That looks like it is why the development certificate worked, but the distribution didn't.

    I had to revoke my old distribution certificate. That message that says all apps tied to the certificate will no longer work was pretty scary, but the Apple instructions said I would be able to associate the apps with the new certificate. After finding no better solution, I clicked ok.

    It appears that everything is working so I am going to attempt the upload to Apple.

    The funny part is that I think I have spent more time figuring out all the provisioning profiles and certificates than actually making the game I am going to publish . . . lol

    Thanks for the help!
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Doing public key encryption is something most computer users never deal with as very few people use encryption. Apple system is based on Phil Zimmerman's PGP encryption program. The developed public key encryption which used to be Illegal, back in the 80's for anyone other than the Goverment to use. These guys fought the system and brought encryption for the masses to keep the Goverment from snooping on us if we so choose.
  • alarm656alarm656 Member Posts: 291
    Do you have both certs in your keychain? You should have one for development and one for distribution both should have keys attached.
    Hi
    how many certificates I have to have? how many development and how many distribution? thx)
  • alarm656alarm656 Member Posts: 291
    Do you have both certs in your keychain? You should have one for development and one for distribution both should have keys attached.
    Hello, I have certificates in keychain but with out attached key. and my certificates don't work. what to do?
Sign In or Register to comment.