Hey folks, wonder if anyone can offer a little Xcode assistance? I'm trying to prepare my first BB game in Xcode and the archive keeps failing. It says iTunes Store operation failed. I've triple-checked the bundle ID and it's fine, so I'm stuck. Now when I set this game up in iTunes some 3 months back, it was called something different, so I changed the name because I haven't uploaded anything yet, but I cannot change the SKU, would this be causing me any issues?
Pretty sure that is not a valid Bundle Identifier (or not typical at least, and it's definitely an invalid format for Android). Typically the Bundle ID is something like "com.company.gamename" without the quotes.
All okay now thank you. I can see in ITC that Xcode keeps on creating new ID's with the prefix XC and then my ID number which is what's been causing the error. There were about 3 ID which was most bizarre. So, I deleted all the auto-generated ID's and when I closed everything down and rebooted Xcode, I archived it, selected the correct bundle in the usual configuration "com.company.gamename" and it's validated okay. Xcode Gremlins I reckon. Thanks @Andy @Kevin W
Publishing on Apple is better than it used to be but far from perfect (or even consistent for that matter)!
SKU is only for your records, that can be anything and Apple does not really care about that. Apple ID is what Apple gives you when you create a new app entry in iTunes Connect. Bundle ID is again what you give to your app, but it has certain rules, basically as @Andy mentioned it has that reverse DNS format like com.phillmason.yourgame -- that is what you need to feed to BB's bundle ID field...
@Phill Mason Hey Phill, what version of Xcode are you using? 6.4 or 7.x ? Presently, you should try and have both installed on your Mac. But unfortunately, automatic AppStore updates trashes 6.4 every time. Try building the binary with 6.4 (Archive), then open 7.x version and submit using the Organizer from 7.x This may solve your issue.