Trouble publishing to App Store: Certificates? Provisioning? Bundle ID? Other?

mhedgesmhedges Raised on VCSMember Posts: 634

Hello

I am having trouble publishing an iOS app to the Apple App Store. I published a previous app once, but got rejected by the Apple review team (grr). Since that was several months ago, I have forgotten the exact procedure and its intricacies. Therefore, I started with new certificates and profiles.

I have done the following:

  1. Requested (and obtained) the development certificate, and entered it in the keychain.

  2. Requested (and obtained) the distribution certificate, and entered it in the keychain.

  3. Obtained the development provision.

  4. Obtained the distribution provision.

All of the above files reside in the same folder. Before we go any further, I'm a bit uncertain about whether xCode processed the development and distribution provisions. When I double-clicked on 3 and 4, they (separately) brought up the xCode icon in the bar, but I got no xCode windows or notifications. That said, let's continue.

I then did the following:

  1. (5) Hit the Publish arrow on GameSalad, which took me to the GS publishing site.

  2. (6) Entered the data on the iOS App Settings.

Let's stop here for a moment to mention that I'm a bit uncertain about the Bundle Identifier. I assigned a "three-level?" ID of "com.mh.mm". I wonder if I had to keep it at 2 only ("com.mh"), or something else.

I then did the following:

  1. (7) Generated the app (and tested my knowledge of GameSalad while the app was compiling ;) )

  2. (8) I signed the app, choosing the provisioning profile obtained on #4 above.

  3. (9) I downloaded the app and got the GS "Congratulations" window.

  4. (10) I hit Publish (I already filled out the app info and images directly through iTunes Connect) and obtained the zip file.

  5. (11) I opened Application Loader and selected the zip file.

After all of the above, I got the following error message:

"No software with CFBundleIdentifier of 'com.mh.mm' exists. Verify your bundle identifier is correct. If it is, you may need to log into iTunes Connect to create the application."

This is where I am stumped, as I tried different variations on the app's Bundle Identifier, as obtained the same results. That's why I inserted the various remarks during the process above.

Can you see where I am messing up?

Thanks for reading, regards.

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Open Xcode go to preferences. Under the accounts tab enter you developer sign in info. At the bottom of the window click details at the bottom of the window that appears hit the refresh icon.

  • mhedgesmhedges Raised on VCS Member Posts: 634

    @The_Gamesalad_Guru‌ ,

    Thanks for the reply. I'll respond with the results tonight, as I had to leave for work. I'm guessing that since I wiped out everything and started anew, xCode didn't recognize the new me, or something like that.

    Regards,
    Marcos

  • mhedgesmhedges Raised on VCS Member Posts: 634
    edited December 2014

    Hello -

    I promised an update last night, but in reality there was no progress made. I am stuck with the same error message despite assigning a new App ID (both in the publishing page of GS and the Apple developer site, and confirmed through the itunesconnect site). I got new certificates again, but to no avail. If someone has any additional clues, it would be much appreciated. In the meantime, I'll go through the procedure again. Maybe another tutorial will flourish out of this! :p

    To recap, I have:

    1. A development certificate

    2. A distribution certificate

    3. A specific App ID (no wildcard)

    4. A development provision profile (tied to the specific App ID)

    5. A distribution provision profile (tied to the specific App ID)

    6. The itunesconnect images and data all plugged in, waiting for the build.

    Regards,
    Marcos

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Did you refresh Xcode? Everytime you make a profile or certs or changes to a profile you need to refresh xcode.

  • mhedgesmhedges Raised on VCS Member Posts: 634

    @The_Gamesalad_Guru‌ ,

    Good morning! Yes, I did. I'll restart the whole process later and share the results.

    Off on a tangent - don't miss the Orion launch in 2 hours!

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Check in Xcode where it shows your certs see if one of them has a number next to them if so you have a duplicate.

  • LovejoyLovejoy Member Posts: 2,078

    @mhedges said:

    Off on a tangent - don't miss the Orion launch in 2 hours!

    You jinxed it!

    Fortuna Infortuna Forti Una

  • mhedgesmhedges Raised on VCS Member Posts: 634

    @Lovejoy - that was the icing on the morning problems!

  • mhedgesmhedges Raised on VCS Member Posts: 634
    edited December 2014

    @The_Gamesalad_Guru‌ , no duplicates detected. I'll continue looking into this.

    BTW - Gamesalad is v12.10, xCode is 6.1, Application Loader is 6.0.

  • mhedgesmhedges Raised on VCS Member Posts: 634

    After several attempts, still no dice.

    The only constant here is the game - I haven't changed it since I last fell OK with it.

    Suggestions? Do I need to blow everything up in the Keychain Access, or just the developer and distributor certificates? Any other?

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited December 2014

    Here is what I would try. Delete everything off your computer. Go into Xcode and hit refresh. This will reinstall everything automatically. The issue is your bundle ID make sure the bundle ID is the same in the publishing portal and in you provisioning profile and in iTunes connect. Bundle ID is the same as App ID in the developer portal. It should be com.yourdomain.appname

  • petercampanellipetercampanelli Member Posts: 19

    Did you create an App ID on the iOS Dev Center/Portal/Whatever? @mhedges‌

  • mhedgesmhedges Raised on VCS Member Posts: 634
    edited December 2014

    Good morning, dudes! @petercampanelli , yes, the App ID on the Developer Center matches that of the GS Publishing Portal. I tried with various suffixes matching on both sites, but no dice.

    @The_Gamesalad_Guru, what do you mean by hitting Refresh in xCode? You lost me there.

    You mentioned deleting everything off the computer - I actually thought about saving the game file and reinstalling GS and xCode, but before doing that, let me describe what I have on my Keychain to see if we can save ourselves that step:

    Under "My Certificates":

    • com.apple.idms.appleid [and a long possibly serial number]. Under this certificate, an Apple ID key with my Apple username (email).

    • iPhone Developer: [my name and my serial number]. Under this certificate, a key with my name only, not like the key above.

    • iPhone Distribution: [my name and my serial number]. Under this certificate, a key with my name only, not like the key at top.

    Under "Keys":

    • A lot of keys. Some public, some private, all of the login type.

    Under "Certificates":

    • Apple Application Integration Certification Authority

    • Apple Worldwide Developer Relations Certification Authority

    • com.apple.idms.appleid [and a long possibly serial number]. Under this certificate, an Apple ID key with my Apple username (email).

    • Developer ID Certification Authority

    • iPhone Developer: [my name and my serial number]. Under this certificate, a key with my name only, not like the key above.

    • iPhone Distribution: [my name and my serial number]. Under this certificate, a key with my name only, not like the key at top.

    Personally, I found odd having so many keys, but then again, I'm still wet behind the ears on OS X (about 3-4 years' worth).

    Have a great Friday all,

    Marcos

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited December 2014

    Sounds like it all good with your keychain. Refreshing Xcode is the method I explained above under preferences in Xcode. Everytime you change something on the developer portal you need to refresh your profiles.

  • mhedgesmhedges Raised on VCS Member Posts: 634
    edited December 2014

    @The_Gamesalad_Guru ,

    Thanks for the vid - yes, I was doing that as well.

    I just noticed something concerning the App ID prefix - the App ID prefix value at the Apple Developer site is "ABC123" which is my team ID.

    The iOS Developer Certificate says my name, but "DEF456", although belonging to team "ABC123".

    The iOS Distribution Certificate says my name, and "ABC123", and belonging to team "ABC123".

    Could this be the source of controversy? "We" are both on the same team.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    It shouldn't. You should be using the distribution provisioning profile you made for the app as well as the app ID you made for the app. You shouldn't be signing with a team profile.

  • mhedgesmhedges Raised on VCS Member Posts: 634

    @The_Gamesalad_Guru ,

    Hello! I don't know if you experience the same, but when I have to sign the app, there are two provisioning profiles - the one I created, and one that says "iOS Team Distribution Provisioning Profile". I use the one I created, not the "team" one. The "team" one gets created when I refresh on xCode.

    As of this writing, I've already reinstalled GameSalad .12.10 and will reinstall the other stuff too, hoping results are positive (isn't the definition of madness close to that :D ).

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    The team one is auto created. Just double check the ID's you created all match.

  • mhedgesmhedges Raised on VCS Member Posts: 634

    @The_Gamesalad_Guru ,

    Something new here. I deleted all previous certificate and provisioning files, and reinstalled GS .12.10, xCode 6.1.1, and Application Loader 3.0.

    The certificates are now in the keychain.

    When I went to xCode to deal with the provisioning profiles, I got something new. The error message says "marcoshedges@hotmail.com" is not on any development teams. I never previously got this. How can I add that to the development team?

  • mhedgesmhedges Raised on VCS Member Posts: 634
    edited December 2014

    Nevermind, I figured it out. Stand by for further progress.

  • mhedgesmhedges Raised on VCS Member Posts: 634

    Arrgh - still getting that error message. Let me see what's up.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Post a screen shot of your app ID in developer portal.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited December 2014


    After doing some reading is seems your issue is having two team IDs. Delete the team ID that doesn't match the profile you made.

  • mhedgesmhedges Raised on VCS Member Posts: 634
    edited December 2014

    @The_Gamesalad_Guru ,

    Before posting the pic, I really appreciate your input. Much obliged.

    Firstly, here's the Apple Developer App ID:

    And here's the GameSalad Publishing App ID:

    Let me look into the post you just made while I was getting the screenshots.

  • mhedgesmhedges Raised on VCS Member Posts: 634

    Notice that (mentioned in an earlier post), my serial numbers do not match in the developer and distributor keys. The first one I got was the one starting with 8.

  • mhedgesmhedges Raised on VCS Member Posts: 634
    edited December 2014

    The prefix in the Apple Developer App ID pic (the first) matches that of the iPhone Distribution certificate (that last pic).

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Okay so now when you made the distribution provisioning profile in developer console did you select that as the app ID. Show me a shot of the profile.

  • mhedgesmhedges Raised on VCS Member Posts: 634
    edited December 2014

    Here's the distribution profile:

    When we click on Edit, the following is displayed:

    Note that the provisioning profile uses the App ID, and the team number is the proper one (well, it's covered, really ;) ). So the prefix should be correct, and the suffix should be correct too.

    Edit: I just noticed the top picture says 0 devices. I don't know if that has to do anything with it, as the developer profile does have 3 devices (two iPhones and an iPad). I'm thinking, if you're distributing, it shouldn't be to just three devices, right?

  • mhedgesmhedges Raised on VCS Member Posts: 634
    edited December 2014

    Yes!!!!

    So what did I do differently on Sunday over the previous days?

    • I went through itunesconnect and created a new App ID - On itunesconnect -> MyApps -> my app for submission,
    • I clicked on More, and a little pop-up reflects some additional info about it. Among said info is the Bundle ID.
    • I clicked under the option to create a new one vie the Developer Portal, and I created a new one with the game's initials, as opposed to its full name, or Mailroom for short.
    • Using that new App ID, I published in Gamesalad again, this time iPhone only instead of iOS Universal.

    And that was it.

    One thing that will puzzle me for now is that when I did my previous app (which they rejected), I never went through the itunesconnect route; it got published just fine.

    I'd like to thank @The_Gamesalad_Guru for sticking through the entire thread. That sort of community spirit certainly adds goodwill to the forum. Kudos. And I'll let you know what the hell happened to the app in a week or so. :D

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    hmmm submit a bug report about the universal build not inputting your app ID.

Sign In or Register to comment.