My iOS app is now in AppStore, and it crashes every time reporting scores to game center. BUT, all works fine when i test using sandbox user.
Seems that it crashes when calling [GKScore reportScores:whileScreeningChallenges:withEligibleChallenges:withCompletionHandler:]
HERE IS THE CRASH LOG:
Incident Identifier: 35E9C678-9B45-4EB7-8766-A81A173C72E1 CrashReporter Key: 8b3897a8e6fd37ad36fe1788e6862b87f6591db1 Hardware Model: iPhone6,2 Process: Arithmetic [11729] Path: /private/var/mobile/Containers/Bundle/Application/C487E7B5-E8B9-41BD-9A8D-BAC8BB4260EC/Arithmetic.app/Arithmetic Identifier: com.cqmh.Arithmetic Version: 1 (1.0.5) Code Type: ARM-64 (Native) Parent Process: launchd [1]
Date/Time: 2015-02-24 17:39:35.401 +0800 Launch Time: 2015-02-24 17:38:24.644 +0800 OS Version: iOS 8.1.3 (12B466) Report Version: 105
Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x00000001000d49e4 Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 Arithmetic 0x00000001000d49e4 Arithmetic.AppDelegate.(application (Arithmetic.AppDelegate) -> (ObjectiveC.UIApplication, didFinishLaunchingWithOptions : [ObjectiveC.NSObject : Swift.AnyObject]?) -> Swift.Bool).(closure #2) (AppDelegate.swift:0) 1 Arithmetic 0x00000001000d49f4 reabstraction thunk helper from @callee_owned (@owned ObjectiveC.NSError!) -> (@unowned ()) to @callee_owned (@in ObjectiveC.NSError!) -> (@out ()) with unmangled suffix "_constprop0" (AppDelegate.swift:28) 2 Arithmetic 0x000000010012299c partial apply forwarder for reabstraction thunk helper from @callee_owned (@in ObjectiveC.NSError!) -> (@out ()) to @callee_owned (@owned ObjectiveC.NSError!) -> (@unowned ()) (Default.swift:0) 3 GameCenterFoundation 0x000000018dbb8f30 94+[GKScore reportScores:whileScreeningChallenges:withEligibleChallenges:withCompletionHandler:]_block_invoke168 + 40 4 libdispatch.dylib 0x0000000195f153a8 _dispatch_call_block_and_release + 20 5 libdispatch.dylib 0x0000000195f15368 _dispatch_client_callout + 12 6 libdispatch.dylib 0x0000000195f1997c _dispatch_main_queue_callback_4CF + 928 7 CoreFoundation 0x0000000185181fa0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 8 8 CoreFoundation 0x0000000185180048 __CFRunLoopRun + 1488 9 CoreFoundation 0x00000001850ad0a0 CFRunLoopRunSpecific + 392 10 GraphicsServices 0x000000018e24f5a0 GSEventRunModal + 164 11 UIKit 0x00000001899deaa0 UIApplicationMain + 1484 12 Arithmetic 0x00000001000d4334 main (AppDelegate.swift:0) 13 libdyld.dylib 0x0000000195f3ea04 start + 0
0 comments:
Post a Comment