title: Not finding players on Game Center. Am I testing my game wrong?
body: <p>I have the game running on the Xcode simulator and also my iPhone. When I hit search they are both put into separate games, instead of one player joining the existing one. It is a turn based game, a player can take their first turn while Game Center is automatching. I am using two separate Game Center accounts with the Sandbox setting on. Any idea what I may be doing wrong? To those who have developed a Game Center supported game, how did you test it? Thanks for the help!</p>
  
  <p>Some code:</p>
  
  <pre><code>- (void)findMatchWithMinPlayers:(int)minPlayers maxPlayers:(int)maxPlayers // view controller calls to find match - nothing if GC unavaiable
               viewController:(UIViewController *)viewController {
  
  
  if (!_enableGameCenter) return;
  
  
  _matchStarted = NO; // Match not started yet
  self.currentMatch = nil;
  [viewController dismissViewControllerAnimated:NO completion:nil];
  
  GKMatchRequest *request = [[GKMatchRequest alloc] init]; // Set number of players
  request.minPlayers = minPlayers;
  request.maxPlayers = maxPlayers;
  
  GKTurnBasedMatchmakerViewController *mmvc = // new instance of the GKMatchmakerViewController with the given request, sets its delegate to the GameKitHelper object, and uses the passed-in view controller to show it on the screen. Shows the user to search for a random player and start a game.
  [[GKTurnBasedMatchmakerViewController alloc] initWithMatchRequest:request];
  mmvc.turnBasedMatchmakerDelegate = self;
  
  [viewController presentViewController:mmvc animated:YES completion:nil];
  }
  
  #pragma mark GKTurnBasedMatchmakerViewControllerDelegate
  
  // A peer-to-peer match has been found, the game should start
  - (void)turnBasedMatchmakerViewController:(GKTurnBasedMatchmakerViewController *)viewController didFindMatch:(GKTurnBasedMatch *)match {
  [viewController dismissViewControllerAnimated:YES completion:nil];
  self.currentMatch = match;
  GKTurnBasedParticipant *firstParticipant = [match.participants objectAtIndex:0];
  if (firstParticipant.lastTurnDate == NULL) {
      // It's a new game!
      [delegate enterNewGame:match];
  } else {
      if ([match.currentParticipant.player isEqual:[GKLocalPlayer localPlayer].playerID]) {
          // It's your turn!
          [delegate takeTurn:match];
      } else {
          // It's not your turn, just display the game state.
          [delegate layoutMatch:match];
      }
      }
  }
  </code></pre>