Game center authenticate on simulator, but nor actual device - iphone

I am attempting to add game center to my application and all goes well for the simulator, but when I run it on the device, it always says game is not recognized by game center. I have attempted to log out of game center than back in hoping it places me in "sand box" but it apparently does not.
If it matters, my devices are running iOS 5 beta 7. Any ideas why okay on simulator and not device? Thanks in advance.
Geo...

So it must have been something to do with running beta and something got "hung", because I restarted the iPad and all is well. Although I did have to make sure I was logged out of Game Center on the device and then log in via my app.
Geo...

Related

Game Center displayed no data on iOS 10

Context
I have 2 games available on AppStore. On a device running iOS 9, Game Center View displayed data for LeaderBoards, Achievements and Challenges.
On another device running iOS 10 no data are displayed.
These apps are on AppStore for some times with no known problems. Going to iOS 10 lead to the loss of Game Center data.
Code
Game Center view is displayed using GKGameCenterViewController.
Game Center
I've checked Game Center data on iTunes Connect: everything is OK. It's also OK using Game Center app for Mac or Game Center app on iOS device running iOS 9.
Tests
I ran test on a device running iOS 10, plugged to Xcode: everything was fine, with the same Game Center account.
Of course during all this tests this the same Game Center credentials is used.
iOS 9 — Simulator
iOS 9 — Device
iOS 10 — Simulator
iOS 10 — Device
"Aucune donnée disponible" is the french translation for "No data available".
Given a single device that previously worked on IOS9 and now isn't working on IOS10 even though other devices with the same ID work fine, we have to consider both server-side and client-side issues:
Server-side issue: We can't rule out server-side issues, especially given the other server-side issues that appear with GameCenter. In the past, for reasons that have never been explained by Apple, simply changing the default leaderboard has solved all sorts of game-center-won't-play-nice issues. Creating a new leaderboard and making it the default, or simply changing which leaderboard is default, seems to be sufficient. However, from my own experience, this works when the problem affects all users, not just 1 device.
Client-side issues: Since you're seeing different behaviors on different devices using a single game center ID, I believe it's more likely to be a client-side issue stemming from the upgrade process. I'd try two things.
First, log out of game center on the affected device, then log back in with a different game center ID. Does the problem still occur?
Second, log out of all three iTunes, iCloud and gameCenter (3 separate places in settings). Reboot the device, then log back in.
Admittedly, all of these are grasping at straws, but these items have corrected weird game center behaviors for me in the past.

Bluetooth connect no longer works on iPhone 5s

I am the developer of Rock Paper Missiles, a strategy game that was released to the App Store about a month ago. This weekend I got my new iPhone 5s, and noticed a critical problem with the bluetooth local multiplayer in the game. The "searching for devices" alert no longer appears, but this only happens on iPhone 5s. My game isn't the only one that does this. Another local bluetooth game, Zombieville USA 2, also has this problem. In their case however, it's worse. The app freezes when you try to connect.
Is there anything I can do to fix this or do I need to wait for Apple to fix iOS 7? Could it be an iOS issue? It seems to only happen on this specific hardware.

Blank screen on some user devices. No crash reports. Can't replicate the bug - how to fix it?

I released an iPhone/iPad app some weeks ago. From 15 reviews (worldwide) I got a dozen 1 star reviews from users saying the app does not work, they only get a blank screen. The other three are happy and it works for them.
I tested the app on an iPad 1, an iPad 2, an iPhone 3GS and several iPhone 4s - it worked on every device flawlessly. And it passed the app store submission process, so it must have worked at Apple...
The crash report in iTunes Connect is empty - the app obviously does not crash, it just hangs somewhere.
Unfortunately there is no way to contact the users where it doesn't work :-(
I know its really hard to help with that less information, but I don't know what to do when I can't replicate the problem on my side...
So does anybody has any idea?
If its a memory problem - shouldn't the app crash then?
I use AVFoundation to play a movie and I know of some flaws since its a relatively new library - does somebody know of this problem (a blank screen) in relation with AVFoundation?
It would be helpful as well if you could download the app (the name is "Hyperactive") and test if you get a blank screen. If so I would be glad to learn the exact device and the iOS version. I hope this is not missunderstood as spam, thats not what I intend...
Thanks in advance,
best regards,
Walchy
This is a longshot, but maybe the user had the application running for a long time, receiving a viewDidUnload, and something you unload is not getting reloaded on the viewDidLoad.
Try running a "Simulate Memory Warning" on the iphone simulator options.
Both iPhone and iPad versions work fine on iPad 1.
Application won't install on iPhone 3G with iOS 4.2.1.
Have you tested your application on a jailbroken device?
It turned out that the black screen only happens on an iPod Touch and the solution is very easy:
You need an additional entry in the .plist file for the iPod Touch:
Main nib file base name ...
iPod Touch 4G thinks it's an iPad

Xcode for Dummies: Can I simulate an iDevice camera?

So, is it possible to simulate the iPhone (arguably future iPad) camera in Xcode using the built in camera on my MacBook?
I read some similar posts, but from the answers I feel it was left up in the air if it can or can not...
Thanks in advance!
No, you cannot. There is no camera app installed, and calling the camera related classes normally creates a crash. You can however sync photos to it.
Short answer: Never use the simulator. It's a joke. I think the only reason they put it in there is so that people can fiddle with stuff before they pay 100 dollars for the developer program.
You cannot simulate the camera using just iOS SDK frameworks while staying within the app sandbox.
However, on the Mac Simulator, you CAN reach outside the sandbox and connect to another camera server Mac application or process, which you would have to develop. So it's technically possible using Mac frameworks and processes outside of the iOS environment for debug purposes to get a camera view inside a Simulated but-non-pure iOS app. Not for dummies though...

iOS Development: After updating my iPhone 4 to iOS 4.3 Beta 3, my app says "This game is not recognized by Game Center"

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!
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.