Removing GameKit framework from Mac Build

Hey I have been building for Mac standalone for a really long time and I got this error on my last submission.

“The app links against the GameKit framework but has no apparent Game Center functionality.”

I indeed do not use GameKit, so does anyone know how to tell unity not to link against the GameKit framework? I am 99% sure I am not referencing it anywhere in my code. Any help would be much appreciated! Thanks!

What version of Unity are you using? What 3rd party assets / plugins are you using?

My Plugins folder is empty and I am using Unity 4.2.2f. As for 3rd party assets I use NGUI and Unirate but I remove Unirate before I do my MAC builds.

Are you using anything from the Social API?

I really don’t think so. I am trying not to grep for the work Social in my project folder but it’s been a while since I’ve used the command. Any chance you’d know how to do that?

No idea, sorry!

In this other thread they mention the rejection message saying to add “com.apple.developer.game-center” to the entitlements and re-submit. I can’t think of any drawbacks to doing this, so it might be the fastest solution.

I haven’t submitted anything to the App Store with a 4.x.x (since they added some social /GameCenter stuff), so it could just be that this is a requirement for Unity games now.

Oh great, Ill jump to that thread and close this one. thanks for the help!

1 Like