Search code examples
iosobjective-cxcodecocos2d-iphonegamekit

Add the GameKit key to your info plist file (Error)


I have an "Add the GameKit key to your info plist file" error on the Capabilities tab. What's that supposed to mean?

Here is a screenshot:


Solution

  • Gamekit fix Info.plist https://i.sstatic.net/zVUev.png

    Just add and item in Required device capabitilities in your Info.plist .

    From documentation:

    Include this key if your app requires (or specifically prohibits) Game Center (iOS 4.1 and later.)

    More information here: https://developer.apple.com/library/ios/documentation/general/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html