Game Center InviteFailed

后端 未结 2 1633
走了就别回头了
走了就别回头了 2021-01-19 01:09

I\'m am attempting to send a Game Center invitation. Sending from the simulator to a device or from a device to the simulator results in an InviteFailed error.

What

相关标签:
2条回答
  • Even though the invite functionality doesn't work in the simulator, you can still test multiplayer in the simulator using findMatchForRequest (kind of like an auto-match function):

    [[GKMatchmaker sharedMatchmaker] findMatchForRequest:request withCompletionHandler:^(GKMatch *match, NSError *error)
    
    0 讨论(0)
  • 2021-01-19 01:35

    As far as I am aware you cannot test multiplayer in the simulator. You will need two devices.

    0 讨论(0)
提交回复
热议问题