As described in this thread by others - [URGENT]MAC App review team rejected because GameKit framework linked! - Unity Engine - Unity Discussions - our game was uploaded to the Mac app store recently with no problems, but a few weeks later, they have changed their admission policy, and reject the game’s update. Seemingly Unity automatically includes the GameKit framework, and Apple will not accept that being used without adding the Game Centre entitlement.
So as a solution to appease Apple, we added Game Centre to the Mac store version, so we could add the entitlement without getting further rejections. However upon adding the entitlement “com.apple.developer.game-center”, codesigning and creating an installer via command line, and attempting to upload this update via application loader, it fails with the following messages:
Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile: ‘com.apple.developer.game-center’ in ‘[app name].app/Contents/Frameworks/MonoEmbedRuntime/osx/libMonoPosixHelper.dylib’.
Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile: ‘com.apple.developer.game-center’ in ‘[app name].app/Contents/Frameworks/MonoEmbedRuntime/osx/libmono.0.dylib’.
Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile: ‘com.apple.developer.game-center’ in ‘[app name].app/Contents/MacOS/[app name]’.
This is baffling, as our provisioning profile definitely claims to have Game Centre enabled when looking at Apple’s Mac developer centre, and this does seem confirmed by the profile, when opened in a text editor, containing:
com.apple.developer.game-center
Removing the entitlement before codesigning lets it upload with no problem. But of course Apple will just reject that. Does anyone else have a similar or related problem, or a solution?