开发者

Game Center InviteFailed

开发者 https://www.devze.com 2023-02-03 15:08 出处:网络
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.

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 might be the problem? Incorrect implementation? Low Internet speed?开发者_C百科 Or is it not possible to test Game Center invites with the simulator?

Thanks

Game Center InviteFailed


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


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

精彩评论

暂无评论...
验证码 换一张
取 消