Provisioning profiles with Xcode

NmdogdudeNmdogdude Member Posts: 174
When I am in the GS publishing window, I get the error 'no provisioning profile found', it's appearing in xcode but at the top, there's a yellow bar that says 'Xcode could not find a vald private-key/certificate pair for this profile in your keychain.
Can anyone help me?

Best Answers

  • SinequanonSinequanon Posts: 35
    edited April 2012 Accepted Answer
    Your developer certificate, the "private-key/certificate pair" that it is referring to, is a certificate that you have on your specific computer that essentially links your computer to the Apple developer account. You handle this first step in the "Certificates" area of the provisioning portal.

    (I believe if you have no developer certificates issued, the page shows a set of instructions; because I have mine issued to this computer and don't want to have to go through the process again, I can't get very specific here.)

    Anyway, what you'll do is open the application Keychain Access, go to to the menu (click on the application name), go to Certificate Assistant, then "Request a Certificate from a Certificate Authority" (follow the instructions in the dev center on the specifics here), and then upload that into your developer account. Once that is developed, you should be able to download a certificate from Apple in the Certificates section that will live in your Keychain that tells Apple that your computer is indeed the computer linked to your developer profile. Then, when Xcode sees provisioning profiles for your apps, they will be able to be linked to your developer account, and you should not get this error.

    I hope that helps. This process is exceedingly arcane.
  • LeonardDeveloperLeonardDeveloper Posts: 4,630
    Accepted Answer
    Lol, This might help:
    HI THERE GUYS,
    I HAVE BEEN HAVING NUMEROUS PUBLISHING PROBLEMS, AND MANAGED TO SORT MOST OF THEM, I HAVE WATCHED VIDEO OVER AND OVER AGAIN BUT IT DIDNT REALY HELP ME CLEARLY AND FULLY UNDERSTAND WHAT TO DO:
    SO I HAVE WROTE A COMPLETE PUBLISHING GUIDE, FOR ALL OF YOU GUYS WHO ARE STUCK ON PUBLISHING, I SHALL ALSO HAVE A VIDEO UP IN ABOUT 2 DAYS, THANKS JACK!!
    HERES IS MY COMPLETE GUIDE:Publishing your gamesalad game to Apple:
    • LOG IN TO IOS PROVISIONING PORTAL
    • Do everything in this order:
    • create certificates
,
    • download and install certificates, (They should appear in your downloads folder... First search for the application "Keychain Access" (see below in fig 1.0) then drag your certificate into keychain access
    Fig 1.0


    • 
create application ID's, (Do this through IOS PROVISIONING PORTAL)
    • 
create Provisioning Profiles (DISTRIBUTION + DEVELOPMENT) (Do this through IOS PROVISIONING PORTAL)

    • GO INTO THE GS CREATOR, SELECT PUBLISH: (Do this through the gs application)

    • PUBLISH TO WHATEVER DEVICE, The device you made the project for
    • ENTER IN ALL YOUR DETAILS,
    • WHEN IT SAYS CHOOSE; PROVISIONING PROFILE MAKE SURE YOU USE YOUR DISTRIBUTION PROVISIONING PROFILE, IF YOU WANT TO PUBLISH TO IOS STRAIGHT AWAY AND YOUR DEVELOPMENT ONE IF YOU WANT TO PUBLISH TO TESTING ON YOUR IPHONE,
    • NOW PRESS PUBLISH AND WAIT..
    • ONCE YOU HAVE RECEIVED YOUR APP FROM THE GS CREATOR MAKE YOUR APP IN ITUNES CONNECT AND THEN UPLOAD YOUR FILE THAT YOU RECEIVED FROM THE GS CREATOR USING THE APPLICATION LOADER (YOUR FILE MUST BE ZIPPED (Compressed), YOU CAN FIND THE APPLICATION LOADER BY SEARCHING YOUR MAC FOR IT, YOU MUST HAVE A NEW VERSION OF XCODE INSTALLED FOR APPLICATION LOADER.

    ANY MORE PUBLISHING QUORIES CONTACT ME ON THERMOAPPS@GMAIL.COM





    LeonardDeveloper

    Hope everyone liked this post, I have completely wrote this myself and it is from my own experience, I wrote this as a draught on microsoft word first for my own personal use incase I ever would have to go through this again, but however I thought of all the frustration and problems I had, and I didn't really want other people to suffer the same way I did with publishing! :), so I shared it!
    --------------------------------------------------------------------------------------------------------------
    JUST ONE MORE THING TO ADD.
    On creation of an bundle ID, apple will give you a suffix e.g (wf3afra26afrd7.gamesalad.gamesaladgame) make sure that you add this suffix into you'd distribution provisioning profile, where it says App id/Bundle ID; it also may not let you change the provision profile so in that case create a new one with the suffix and delete the old one,
    ---------------------------------------------------------------------------------------------------------------
    If you ever receive this email, after publishing the above is how to fix it
    Email:Dear Developer,We have discovered one or more issues with your recent binary submission for "GSGAME!!". Before your app can be reviewed, the following issues must be corrected:Invalid Code Signing Entitlements - The signature for your app bundle contains entitlement values that are not supported. For the com.apple.developer.ubiquity-container-identifiers entitlement, the first value in the array must consist of the prefix provided by Apple in the provisioning profile followed by a bundle identifier suffix. The bundle identifier must match the bundle identifier for one of your apps or another app that you are permitted to use as the iCloud container identifier.Specifically, value "NQ48B44SRD.*" for key "com.apple.developer.ubiquity-container-identifiers" in GSGAME is not supported.Invalid Code Signing Entitlements - The signature for your app bundle contains entitlement values that are not supported.Specifically, value "NQ48B48SRD.*" for key "com.apple.developer.ubiquity-kvstore-identifier" in GSGAME is not supported.Once these issues have been corrected, go to the Version Details page and click Ready to Upload Binary. Continue through the submission process until the app status is Waiting for Upload and then use Application Loader to upload the corrected binary.Regards,

    The iTunes Store Team





    LeonardDeveloper

    Known ASAP (app store approval process) problems with GS:
    Invalid code signing entitlements >> Read above


Answers

  • NmdogdudeNmdogdude Member Posts: 174
    Thanks for the help everyone. :D, Wow, everyone has been so helpful.
    Thanks again
Sign In or Register to comment.