title: GameCenter Leaderboards not updating score
body: <p>I am new to Swift (and coding in general) and have experienced an issue when uploading a score to the GameKit Leaderboard.
  I can see all users in the leaderboard, but the score is always &quot;0&quot;.
  This is the error I am getting in the console:</p>
  <blockquote>
  <p>[&quot;$s7Combine10PublishersO8SequenceV7receive10subscriberyqd___t7FailureQyd__Rs_AA10SubscriberRd__5InputQyd__7ElementRtzlF +1012&quot;, &quot;$s7Combine9PublisherPAAE9subscribeyyqd__AA10SubscriberRd__7FailureQyd__AFRtz5InputQyd__6OutputRtzlF +1060&quot;, &quot;_dispatch_call_block_and_release +32&quot;, &quot;_dispatch_client_callout +20&quot;, &quot;_dispatch_main_queue_callback_4CF +1000&quot;, &quot;CFRunLoopRunSpecific +600&quot;, &quot;GSEventRunModal +164&quot;, &quot;UIApplicationMain +168&quot;, &quot;$s5UIKit17UIApplicationMainys5Int32VAD_SpySpys4Int8VGGSgSSSgAJtF +104&quot;, &quot;$sSo21UIApplicationDelegateP5UIKitE4mainyyFZ +120&quot;, &quot;$s10PlantATree11AppDelegateC5$mainyyFZ +48&quot;, &quot;main +32&quot;]</p>
  </blockquote>
  <p>How I have been trying to update my scores:</p>
  <pre><code>func updateScore(with value: Int) {
      let score = GKScore(leaderboardIdentifier: &quot;bp&quot;)
      score.value = Int64(value)
      GKScore.report([score]) { (error) in
          if error != nil{
              print(&quot;Updated score successfully. &quot;)
          }
      }
  }
  
  updateScore(with: score)
  </code></pre>
  <p>Is there a way to fix this?</p>