title: GameCenter reporting achievements Swift 3
body: <p>I'm getting a bit frustrated. I'm implementing achievements using GameCenter and Swift 3</p>
  
  <p>However I get the error.</p>
  
  <p>no bundle for bundleID: (null)</p>
  
  <p>I've been following tutorials such as those from raywenderlich.com but can't find any for Swift 3 with achievements (I have leaderboards working) so don't know if my code is incorrect, or how I can just return the bundle IDs programatically to confirm the achievement ID.</p>
  
  <p>To try to get this working in ViewDidLoad I coded the following, and my ViewController is a GKGameCenterControllerDelegate</p>
  
  <pre><code>    var achievements = [GKAchievement]()
      let fullAchievement = GKAchievement(
               identifier: "ReversedIDforMyApp.FullMarks")
      achievements.append(fullAchievement)
      GameKitHelper.sharedInstance.reportAchievements(achievements: achievements)
  </code></pre>
  
  <p>I created a helper to report the achievement</p>
  
  <pre><code>func reportAchievements(achievements: [GKAchievement],
                          errorHandler: ((NSError?)-&gt;Void)? = nil) {
      guard gameCenterEnabled else {
          return
      }
      GKAchievement.report(achievements,
                                       withCompletionHandler: errorHandler as? (Error?) -&gt; Void)
  }
  }
  </code></pre>
  
  <p>I can't work out why the error message would be displayed...</p>