InviteHandler never called

I add two players to the game using the Game Kit. My test devices are the third-generation iPod touch running on 4.3.5, and the second-generation iPod iPod running 4.2.1. Game Center notifications are enabled on both devices. I do not use iPhone Simulator. Both devices are recorded in the Sandbox Game Center with separate accounts. The accounts are already familiar.

I can authenticate localPlayer successfully and initiate an invitation, but the invited device never receives the invitation, and the inviteHandler invited game inviteHandler never called. inviteHandler installed immediately after localPlayer authentication. I looked at the Game Kit Programming Guide and implemented all the methods in the GKMatchmakerViewControllerDelegate protocol, but I'm at a dead end.

+7
source share
1 answer

It turns out that when I initially created these Sandbox accounts, I turned off "Allow game invitations." In Game Center.app, on the Sandbox / Me tab, click the yellow banner banner account, and then click View Account. Opened this only when creating a new Sandbox account on the third device. Can i get derp?

+6
source

All Articles