Trouble publishing to App Store: Certificates? Provisioning? Bundle ID? Other?
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:
Requested (and obtained) the development certificate, and entered it in the keychain.
Requested (and obtained) the distribution certificate, and entered it in the keychain.
Obtained the development provision.
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:
(5) Hit the Publish arrow on GameSalad, which took me to the GS publishing site.
(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:
(7) Generated the app (and tested my knowledge of GameSalad while the app was compiling )
(8) I signed the app, choosing the provisioning profile obtained on #4 above.
(9) I downloaded the app and got the GS "Congratulations" window.
(10) I hit Publish (I already filled out the app info and images directly through iTunes Connect) and obtained the zip file.
(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
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.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
@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
My Blog / App Store / Google Play
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!
To recap, I have:
A development certificate
A distribution certificate
A specific App ID (no wildcard)
A development provision profile (tied to the specific App ID)
A distribution provision profile (tied to the specific App ID)
The itunesconnect images and data all plugged in, waiting for the build.
Regards,
Marcos
My Blog / App Store / Google Play
Did you refresh Xcode? Everytime you make a profile or certs or changes to a profile you need to refresh xcode.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
@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!
My Blog / App Store / Google Play
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.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
You jinxed it!
Fortuna Infortuna Forti Una
@Lovejoy - that was the icing on the morning problems!
My Blog / App Store / Google Play
@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.
My Blog / App Store / Google Play
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?
My Blog / App Store / Google Play
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
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Did you create an App ID on the iOS Dev Center/Portal/Whatever? @mhedges
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":
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
My Blog / App Store / Google Play
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.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
@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.
My Blog / App Store / Google Play
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.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
@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 ).
My Blog / App Store / Google Play
The team one is auto created. Just double check the ID's you created all match.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
@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?
My Blog / App Store / Google Play
Nevermind, I figured it out. Stand by for further progress.
My Blog / App Store / Google Play
Arrgh - still getting that error message. Let me see what's up.
My Blog / App Store / Google Play
Post a screen shot of your app ID in developer portal.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
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.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
@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.
My Blog / App Store / Google Play
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.
My Blog / App Store / Google Play
The prefix in the Apple Developer App ID pic (the first) matches that of the iPhone Distribution certificate (that last pic).
My Blog / App Store / Google Play
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.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
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?
My Blog / App Store / Google Play
Yes!!!!
So what did I do differently on Sunday over the previous days?
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.
My Blog / App Store / Google Play
hmmm submit a bug report about the universal build not inputting your app ID.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS