issue submitting score to a leaderboard
<p>i have enabled <code>Game Center</code> in my itunes connect for my app.
In my game center, i have created a leaderboard named "Level 1" with its id "level1", integer.</p>

<p>In my game, i try to submit a score like this:</p>

<pre><code> NSAutoreleasePool   *pool = [[NSAutoreleasePool alloc]init];

    GKScore *scoreReporter = [[[GKScore alloc] initWithCategory:@"level1"] autorelease];

    int64_t score1 =scr;
    scoreReporter.value = score1;
    [scoreReporter reportScoreWithCompletionHandler:^(NSError *error) { 
        if (error != nil) {
            NSLog(@"Submit failed");
        }
        else {
            NSLog(@"Score Submited");
        }
    }];

    [pool release];
</code></pre>

<p>but i get a <strong>submit failed</strong>; i've created the leaderboard about 30-40 mins ago, could it not be enabled yet by apple? if else, i don't know what i'm doing wrong.</p>

<p>Here is my error:</p>

<blockquote>
  <p>Error: Error Domain=GKErrorDomain Code=6 "The requested operation
  could not be completed because local player has not been
  authenticated." UserInfo=0x1ed4d4a0 {NSLocalizedDescription=The
  requested operation could not be completed because local player has
  not been authenticated.}</p>
</blockquote>

<p>btw i have internet access on my iphone and am connected on my phone to an apple account</p>
