问题
I've been building an iPhone game for the last couple months using XCode 3.2.5 and iOS 4.2 and I'm about to submit it to the App Store. Before I do that, however, I wanted to test it against iOS 4.3 Beta 3, so I downloaded the latest beta SDK, installed it in a separate location, and updated the device to iOS 4.3 Beta 3. Now, when I run the game and it attempts to authenticate the local player in Game Center, it pops up a box saying "This game is not recognized by Game Center". Why?
I tried logging out of Game Center though the Game Center app and restarting my app, but I was already logged out, so the problem doesn't appear to be the result of trying to use a non-sandboxed account. Also, I noticed that it runs fine in the 4.3 Beta 3 Simulator. I only get this error on the updated device. Any ideas?
Thanks so much for you wisdom!
回答1:
Are you code signing with the provisioning profile specific to your app or with a wildcard provisioning profile? As far as I know, signing with a wildcard profile isn't allowed for accessing Game Center.
In the Game Center app, make sure you're not connected with an account in the production environment. If you have doubt, log out and start your application.
来源:https://stackoverflow.com/questions/4902061/ios-development-after-updating-my-iphone-4-to-ios-4-3-beta-3-my-app-says-this