2 Replies
      Latest reply on Dec 19, 2016 1:16 AM by Total Swift
      Total Swift Level 1 Level 1 (0 points)

        I've downloaded from sample code "HelloGameKit" but whe I try to build I get "No such module 'GameKit'" in PlayersInterfaceController.swift that is in the "HelloGameKit WatchKit Extension" folder, the GameKit framework is there, I expected that a project that is also recent, dowloaded from Apple, should build without any issue, I can't find the solution, could you please help me?

        • Re: No such module 'GameKit'
          eskimo Apple Staff Apple Staff (13,355 points)

          Are you building for the simulator?  Or for a real device?  If you’re building for the simulator, that won’t work, as discussed in the Xcode Release Notes:

          The GameKit framework is missing from the SDK for the watchOS simulator. To work around this issue, develop for GameKit using a watchOS device which does include the framework. (27899791)

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"