GKTurnBasedEventListener method not working

Originator:fzfpff
Number:rdar://21578403 Date Originated:27-Jun-2015
Status:Open Resolved:
Product:iOS SDK Product Version:
Classification: Reproducible:Always
 
Summary:
I am using GKTurnBasedEventListener to handle game state changes. However, not all methods are called. The following method:

- player: receivedTurnEventForMatch: didBecomeActive:

is never called. I am testing it on devices. Even my current versions of live apps are affected by this(!).

For some reason the following method is working:
- player: matchEnded:

This has been confirmed by Apple Developer Technical Support Team.

I have created a sample Xcode project to make this easier to test for you.
It can be downloaded from dropbox: https://www.dropbox.com/s/mh91ecb37kwoawt/TurnBasedGame.zip?dl=0

The listener is implemented in line 72 of ViewController.m. I have added a warning inside that method. The sample app is attached.

Steps to Reproduce:
1. Open the sample app.
2. Create a game.
3. Open the app on another device.
4. Join the game.
5. Make a move on one device and wait for the notification on another one (it doesn't work!)

Expected Results:
The following method is called:

- player: receivedTurnEventForMatch: didBecomeActive:

Actual Results:
The listener is never notified about game state changes.

Version:
iOS 8.3 [12F70], iOS 8.3 [12F69]

Notes:
This has been confirmed by Apple Developer Technical Support Team. Follow-up number was 624533121.

Configuration:
iPhone 6 MG4H2ZD/A - iOS 8.3 (12F70), iPad 2 MC983PL/A - iOS 8.3 (12F69)

Comments


Please note: 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!