用户正在登录游戏中心,游戏随后立即崩溃

时间:2015-12-25 22:28:14

标签: ios crash-reports

我无法找到崩溃的原因。我知道用户正在登录Game Center。然而,随后用户开始玩MyApp'。我仍然无法找到错误。我已经阅读了Apple tech doc和2010视频。仍然无法找到问题。请帮忙。

Incident Identifier: D3A80086-855D-400D-8102-7D08D04C2A4D
CrashReporter Key:   6b4377c06adbfe5d64bfb9dd348bd73e93859214
Hardware Model:      iPhone5,4
Process:             MyApp [280]
Path:                /private/var/mobile/Containers/Bundle/Application/D5470DBE-1FF8-4E06-946B-910AD698DD2D/MyApp.app/MyApp
Identifier:          MyApp
Version:             4 (4.86)
Code Type:           ARM (Native)
Parent Process:      launchd [1]

Date/Time:           2015-12-26 01:10:15.15 +0400
Launch Time:         2015-12-26 01:06:30.30 +0400
OS Version:          iOS 9.2 (13C75)
Report Version:      105

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000000e7ffdefe
Triggered by Thread:  0

Filtered syslog:
None found

Breadcrumb Trail: (reverse chronological seconds)
6      logging-started
6      GC TBG: lookForEvent
224    GC Framework: startAuthenticationForExistingPrimaryPlayer


Global Trace Buffer (reverse chronological seconds):
6.978571     GameCenterFoundation       0x000000002eb776e1 callAuthHandlerWithError:Setting the Authentication Handler
6.989052     GameCenterFoundation       0x000000002eb886f5 GKMatchMaker: lookForInvite
6.989130     GameCenterFoundation       0x000000002ebb05d9 updateNearbyAdvertising
6.989130     GameCenterFoundation       0x000000002eb88485 finishedAuthenticating: Starting nearby Advertising and looking for invites
6.989724     GameCenterFoundation       0x000000002eb87f49 GKMatchmaker: loadConnectivitySettingsWithCompletionHandler
6.990383     GameCenterFoundation       0x000000002eb77663 Calling AuthenticationHandlerWithError: 0
7.056258     GameCenterUI               0x000000002f8067fd authenticationDidCompleteWithError:Local Player Authenticated, showing Welcome Banner
7.056258     GameCenterUI               0x000000002f8065f7 authenticationDidCompleteWithError being called
214.506726   GameCenterUI               0x000000002f8074e3 authenticationShowSignInUIForLocalPlayer:Showing sign in view controller



Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   MyApp                           0x000e8160 0xce000 + 106848
1   GameCenterFoundation            0x2ebc92c4 __39-[GKDispatchGroup notifyOnQueue:block:]_block_invoke53 + 12
2   libdispatch.dylib               0x228abdd6 _dispatch_call_block_and_release + 10
3   libdispatch.dylib               0x228abdc2 _dispatch_client_callout + 22
4   libdispatch.dylib               0x228b0670 _dispatch_main_queue_callback_4CF + 1532
5   CoreFoundation                  0x22cd0fc4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
6   CoreFoundation                  0x22ccf4be __CFRunLoopRun + 1590
7   CoreFoundation                  0x22c21bb8 CFRunLoopRunSpecific + 516
8   CoreFoundation                  0x22c219ac CFRunLoopRunInMode + 108
9   GraphicsServices                0x23e9baf8 GSEventRunModal + 160
10  UIKit                           0x26f0dfb4 UIApplicationMain + 144
11  MyApp                           0x000daa08 0xce000 + 51720
12  libdyld.dylib                   0x228d4872 start + 2

1 个答案:

答案 0 :(得分:0)

我有同样的问题。 苹果评论员报告检查我的应用是否与IPv6兼容。 我回复他说我的应用程序只使用Game Center进行通信,如果这是IPv6问题,这应该是游戏中心问题。

无论如何,根据我的经验,测试我的应用程序,这只发生在我从游戏中心身份验证横幅"游戏中心身份验证横幅"打开了。

我的游戏是在SceneKit中开发的,菜单是在Overlay图层的SceneView中使用SpriteKit开发的。 要切换菜单,我只需在SceneView中更改SKScene。