Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Removing GameKit framework from Mac Build

Discussion in 'Editor & General Support' started by GlutenFreeGames, Aug 9, 2014.

  1. GlutenFreeGames

    GlutenFreeGames

    Joined:
    Jun 13, 2013
    Posts:
    51
    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!
     
  2. NomadKing

    NomadKing

    Joined:
    Feb 11, 2010
    Posts:
    1,461
    What version of Unity are you using? What 3rd party assets / plugins are you using?
     
  3. GlutenFreeGames

    GlutenFreeGames

    Joined:
    Jun 13, 2013
    Posts:
    51
    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.
     
  4. NomadKing

    NomadKing

    Joined:
    Feb 11, 2010
    Posts:
    1,461
    Are you using anything from the Social API?
     
  5. GlutenFreeGames

    GlutenFreeGames

    Joined:
    Jun 13, 2013
    Posts:
    51
    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?
     
  6. NomadKing

    NomadKing

    Joined:
    Feb 11, 2010
    Posts:
    1,461
    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.
     
  7. GlutenFreeGames

    GlutenFreeGames

    Joined:
    Jun 13, 2013
    Posts:
    51
    Oh great, Ill jump to that thread and close this one. thanks for the help!
     
    NomadKing likes this.