Cancelling the GK auth process breaks auth completion handlers
||Resolved:||Not To Be Fixed|
||Product Version:||5.1 SDK|
11-Jun-2012 11:41 PM Michael Herring:
If the GameKit authentication prompt is cancelled, future attempts to authenticate will not have their completion handlers called.
Steps to Reproduce:
1. Download the GKTapper sample code app from developer.apple.com
2. Set a breakpoint at line 145 in GameCenterManager.m.
3. Debug on an iOS 5.1 device (or the Simulator).
4. Tap "Cancel" at the authentication prompt.
5. Note that the breakpoint is hit, then continue execution.
6. Tap "Try again."
The completion handler should be called again after authenticateWithCompletionHandler exits.
authenticateWithCompletionHandler seems to execute, since it generates "enter/exit" log output. But, the Game Center authentication prompt never comes up, and the breakpoint set in step 2 above will never be hit a second time.
My co-worker reports this is a 5.1-exclusive regression, but I have not confirmed that.
This reproduces on the iOS 5.1 Simulator, as well.
17-Jul-2012 09:07PM Michael Herring
No, the issue only occurs on iOS 5.1.
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!