MacOS cannot send and receive Game Center multiplayer Invitation

I'm trying to implement multiplayer invitation from game center for macos, ios, tvos following this https://developer.apple.com/documentation/gamekit/finding_multiple_players_for_a_game?language=objc

Implementation works for tvos and ios, I can invite my friends, Start Game and continue sending data. But macos still doesn't work at all. I tried using build that works on iOS to invite macos player, but my mac cannot even receive the invitation notification from game center (game is installed already on mac).

While from mac, my invitation process is stuck here until it's failed

Is there any specific setting on macos to enable game center invitation?

Accepted Reply

Make sure you have "com.apple.security.network.server" and "com.apple.security.network.client" entitlements in case you have the sandbox on:

https://stackoverflow.com/questions/27728072/game-center-matchmaking-on-os-x-yosemite-not-working

That helped me to be able to send the invites at least. Receiving invites may be a different issue.

  • Thanks a lot! I previously only put "com.apple.security.network.client" on my entitlements and after adding "com.apple.security.network.server" indeed now I can send invites from mac. But still, receiving invitation is not working on my mac. I raised a ticket to feedback assistant about this "receiving" issue hopefully will get some answer.

Add a Comment

Replies

Make sure you have "com.apple.security.network.server" and "com.apple.security.network.client" entitlements in case you have the sandbox on:

https://stackoverflow.com/questions/27728072/game-center-matchmaking-on-os-x-yosemite-not-working

That helped me to be able to send the invites at least. Receiving invites may be a different issue.

  • Thanks a lot! I previously only put "com.apple.security.network.client" on my entitlements and after adding "com.apple.security.network.server" indeed now I can send invites from mac. But still, receiving invitation is not working on my mac. I raised a ticket to feedback assistant about this "receiving" issue hopefully will get some answer.

Add a Comment