App Crashing GameCenterUI:专门的 AccessPointRootViewController.supportedInterfaceOrientations.getter

如何解决App Crashing GameCenterUI:专门的 AccessPointRootViewController.supportedInterfaceOrientations.getter

我的 iOS 游戏发生崩溃。该游戏使用 GKAccessPoints 和 Game Center UI。我只在我的游戏发布版本(非测试版)中注意到了这个崩溃。

我认为这与 GameKit 有关的原因是因为它说 GameCenterUI 和接入点。除此之外,我不确定是什么原因造成的。我曾尝试在我的项目中打开崩溃它,但它没有指出导致此问题的一行代码。这让我认为这可能是 Apple 的 GameKit 类的错误。但话又说回来,我不确定。我附上了一份完整的崩溃报告(我正在删除一些敏感信息,如应用程序)。由于字符限制,我删除了二进制图像部分。

任何指示或帮助将不胜感激。如果您需要更多信息,请询问。谢谢。


Role:                Foreground
Parent Process:      launchd [1]
Coalition:           



OS Version:          iPhone OS 14.4.2 (18D70)
Release Type:        User
Baseband Version:    3.02.02
Report Version:      104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001,0x00000001a39dba18
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL,Code 0x5
Terminating Process: exc handler [1890]
Triggered by Thread:  0

Thread 0 name:
Thread 0 Crashed:
0   libswiftCore.dylib              0x00000001a39dba18 _assertionFailure(_:_:file:line:flags:) + 492 (AssertCommon.swift:132)
1   libswiftCore.dylib              0x00000001a39dba18 _assertionFailure(_:_:file:line:flags:) + 492 (AssertCommon.swift:132)
2   GameCenterUI                    0x00000001b7090f60 specialized AccessPointRootViewController.supportedInterfaceOrientations.getter + 276 (GKAccessPoint.swift:33)
3   UIKitCore                       0x00000001a205e10c -[UIViewController __supportedInterfaceOrientations] + 708 (UIViewController.m:9782)
4   UIKitCore                       0x00000001a204e418 -[UIViewController _preferredInterfaceOrientationGivenCurrentOrientation:] + 120 (UIViewController.m:6492)
5   UIKitCore                       0x00000001a27b1470 -[UIWindow _updateToInterfaceOrientation:duration:force:] + 328 (UIWindow.m:3893)
6   CoreFoundation                  0x000000019fd0e9a0 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 28 (CFNotificationCenter.c:706)
7   CoreFoundation                  0x000000019fd0e948 ___CFXRegistrationPost_block_invoke + 52 (CFNotificationCenter.c:173)
8   CoreFoundation                  0x000000019fd0deb0 _CFXRegistrationPost + 440 (CFNotificationCenter.c:198)
9   CoreFoundation                  0x000000019fd0d870 _CFXNotificationPost + 716 (CFNotificationCenter.c:1071)
10  Foundation                      0x00000001a0fd44bc -[NSNotificationCenter postNotificationName:object:userInfo:] + 64 (NSNotification.m:575)
11  UIKitCore                       0x00000001a2761c54 -[UIApplication _stopDeactivatingForReason:] + 964 (UIApplication.m:1899)
12  UIKitCore                       0x00000001a1dc12a0 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 440 (_UISceneLifecycleMultiplexer.m:108)
13  UIKitCore                       0x00000001a1dc161c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 768 (_UISceneLifecycleMultiplexer.m:548)
14  UIKitCore                       0x00000001a1dc0e58 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 340 (_UISceneLifecycleMultiplexer.m:454)
15  UIKitCore                       0x00000001a1bec1a0 -[UIScene _invalidate] + 804 (UIScene.m:683)
16  UIKitCore                       0x00000001a29e5014 -[UIWindowScene _invalidate] + 52 (UIWindowScene.m:268)
17  UIKitCore                       0x00000001a2769180 -[UIApplication workspace:willDestroyScene:withTransitionContext:completion:] + 208 (UIApplication.m:3725)
18  UIKitCore                       0x00000001a226505c -[UIApplicationSceneClientAgent scene:willInvalidateWithEvent:completion:] + 388 (UIApplicationSceneClientAgent.m:61)
19  FrontBoardServices              0x00000001afb1a570 -[FBSScene _callOutQueue_agent_willDestroyWithTransitionContext:completion:] + 276 (FBSScene.m:452)
20  FrontBoardServices              0x00000001afb47b1c __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke_2 + 128 (FBSWorkspaceScenesClient.m:574)
21  FrontBoardServices              0x00000001afb294a0 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240 (FBSWorkspace.m:355)
22  FrontBoardServices              0x00000001afb4796c __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke + 328 (FBSWorkspaceScenesClient.m:573)
23  libdispatch.dylib               0x000000019f9a5db0 _dispatch_client_callout + 20 (object.m:559)
24  libdispatch.dylib               0x000000019f9a9738 _dispatch_block_invoke_direct + 268 (queue.c:468)
25  FrontBoardServices              0x00000001afb6e250 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48 (FBSSerialQueue.m:184)
26  FrontBoardServices              0x00000001afb6dee0 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 448 (FBSSerialQueue.m:227)
27  FrontBoardServices              0x00000001afb6e434 -[FBSSerialQueue _performNextFromRunLoopSource] + 32 (FBSSerialQueue.m:258)
28  CoreFoundation                  0x000000019fd2d76c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1967)
29  CoreFoundation                  0x000000019fd2d668 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2011)
30  CoreFoundation                  0x000000019fd2c960 __CFRunLoopDoSources0 + 268 (CFRunLoop.c:2048)
31  CoreFoundation                  0x000000019fd26a8c __CFRunLoopRun + 824 (CFRunLoop.c:2925)
32  CoreFoundation                  0x000000019fd2621c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242)
33  GraphicsServices                0x00000001b78f0784 GSEventRunModal + 164 (GSEvent.c:2259)
34  UIKitCore                       0x00000001a2766ee8 -[UIApplication _run] + 1072 (UIApplication.m:3253)
35  UIKitCore                       0x00000001a276c75c UIApplicationMain + 168 (UIApplication.m:4707)
36  libswiftUIKit.dylib             0x00000001b408b2e4 UIApplicationMain(_:_:_:_:) + 104 (UIKit.swift:528)
37  Tank Fighters                   0x0000000102c2e738 main + 80 (<compiler-generated>:12)
38  Tank Fighters                   0x0000000102c2e738 $main + 92 (StoreViewController.swift:0)
39  Tank Fighters                   0x0000000102c2e738 main + 108
40  libdyld.dylib                   0x000000019f9e66b0 start + 4

Thread 1 name:
Thread 1:
0   libsystem_kernel.dylib          0x00000001cdcdd2d0 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x00000001cdcdc660 mach_msg + 76 (mach_msg.c:103)
2   CoreFoundation                  0x000000019fd2cc30 __CFRunLoopServiceMachPort + 380 (CFRunLoop.c:2641)
3   CoreFoundation                  0x000000019fd26c14 __CFRunLoopRun + 1216 (CFRunLoop.c:2974)
4   CoreFoundation                  0x000000019fd2621c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242)
5   Foundation                      0x00000001a0fd5df0 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 (NSRunLoop.m:374)
6   Foundation                      0x00000001a0fd5cbc -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 (NSRunLoop.m:421)
7   UIKitCore                       0x00000001a281ac48 -[UIEventFetcher threadMain] + 516 (UIEventFetcher.m:838)
8   Foundation                      0x00000001a1147a34 __NSThread__start__ + 864 (NSThread.m:724)
9   libsystem_pthread.dylib         0x00000001eb85bcb0 _pthread_start + 320 (pthread.c:881)
10  libsystem_pthread.dylib         0x00000001eb864778 thread_start + 8

Thread 2 name:
Thread 2:
0   libsystem_kernel.dylib          0x00000001cdcdd2d0 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x00000001cdcdc660 mach_msg + 76 (mach_msg.c:103)
2   CoreFoundation                  0x000000019fd2cc30 __CFRunLoopServiceMachPort + 380 (CFRunLoop.c:2641)
3   CoreFoundation                  0x000000019fd26c14 __CFRunLoopRun + 1216 (CFRunLoop.c:2974)
4   CoreFoundation                  0x000000019fd2621c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242)
5   AudioSession                    0x00000001a786f0c4 GenericRunLoopThread::Entry(void*) + 164 (GenericRunLoopThread.h:91)
6   AudioSession                    0x00000001a787125c CAPThread::Entry(CAPThread*) + 92 (CAPThread.cpp:321)
7   libsystem_pthread.dylib         0x00000001eb85bcb0 _pthread_start + 320 (pthread.c:881)
8   libsystem_pthread.dylib         0x00000001eb864778 thread_start + 8

Thread 3 name:
Thread 3:
0   libsystem_kernel.dylib          0x00000001cdcdd2d0 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x00000001cdcdc660 mach_msg + 76 (mach_msg.c:103)
2   CoreFoundation                  0x000000019fd2cc30 __CFRunLoopServiceMachPort + 380 (CFRunLoop.c:2641)
3   CoreFoundation                  0x000000019fd26c14 __CFRunLoopRun + 1216 (CFRunLoop.c:2974)
4   CoreFoundation                  0x000000019fd2621c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242)
5   AudioToolbox                    0x00000001a8eca9fc GenericRunLoopThread::Entry(void*) + 164 (GenericRunLoopThread.h:91)
6   libAudioToolboxUtility.dylib    0x00000001b555b144 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 92 (CAPThread.cpp:324)
7   libsystem_pthread.dylib         0x00000001eb85bcb0 _pthread_start + 320 (pthread.c:881)
8   libsystem_pthread.dylib         0x00000001eb864778 thread_start + 8

Thread 4:
0   libsystem_pthread.dylib         0x00000001eb864764 start_wqthread + 0

Thread 5:
0   libsystem_pthread.dylib         0x00000001eb864764 start_wqthread + 0

Thread 6:
0   libsystem_pthread.dylib         0x00000001eb864764 start_wqthread + 0

Thread 7:
0   libsystem_pthread.dylib         0x00000001eb864764 start_wqthread + 0

Thread 8:
0   libsystem_pthread.dylib         0x00000001eb864764 start_wqthread + 0

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x80000001b727eec0   x1: 0x00000002818cca80   x2: 0x0000000000000007   x3: 0x00000001afbaacdc
    x4: 0x00000000000062dc   x5: 0x000000016d1d9040   x6: 0x0000000000000077   x7: 0x0000000000000001
    x8: 0x000000000000007f   x9: 0x0000000000000016  x10: 0x00000000000007fb  x11: 0x00000000000007fd
   x12: 0x0000000000000001  x13: 0x00000000b8036818  x14: 0x00000000b8237000  x15: 0x000000000000006e
   x16: 0x0000000080000000  x17: 0x0000000038200000  x18: 0x00000001057f75b2  x19: 0x00000001b727f010
   x20: 0x0000000000000000  x21: 0x0000000000000000  x22: 0x0000000000000021  x23: 0x00000001b727eeb0
   x24: 0x80000001b727eec0  x25: 0xd000000000000017  x26: 0x000000000000000b  x27: 0x0000000000000002
   x28: 0x0000000000000018   fp: 0x000000016d1d91e0   lr: 0x00000001a39dba18
    sp: 0x000000016d1d9160   pc: 0x00000001a39dba18 cpsr: 0x60000000
   esr: 0xf2000001  Address size fault


EOF

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


使用本地python环境可以成功执行 import pandas as pd import matplotlib.pyplot as plt # 设置字体 plt.rcParams[&#39;font.sans-serif&#39;] = [&#39;SimHei&#39;] # 能正确显示负号 p
错误1:Request method ‘DELETE‘ not supported 错误还原:controller层有一个接口,访问该接口时报错:Request method ‘DELETE‘ not supported 错误原因:没有接收到前端传入的参数,修改为如下 参考 错误2:cannot r
错误1:启动docker镜像时报错:Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen 解决方法:重启docker -&gt; systemctl r
错误1:private field ‘xxx‘ is never assigned 按Altʾnter快捷键,选择第2项 参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070 错误2:启动时报错,不能找到主启动类 #
报错如下,通过源不能下载,最后警告pip需升级版本 Requirement already satisfied: pip in c:\users\ychen\appdata\local\programs\python\python310\lib\site-packages (22.0.4) Coll
错误1:maven打包报错 错误还原:使用maven打包项目时报错如下 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources)
错误1:服务调用时报错 服务消费者模块assess通过openFeign调用服务提供者模块hires 如下为服务提供者模块hires的控制层接口 @RestController @RequestMapping(&quot;/hires&quot;) public class FeignControl
错误1:运行项目后报如下错误 解决方案 报错2:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sb 解决方案:在pom.
参考 错误原因 过滤器或拦截器在生效时,redisTemplate还没有注入 解决方案:在注入容器时就生效 @Component //项目运行时就注入Spring容器 public class RedisBean { @Resource private RedisTemplate&lt;String
使用vite构建项目报错 C:\Users\ychen\work&gt;npm init @vitejs/app @vitejs/create-app is deprecated, use npm init vite instead C:\Users\ychen\AppData\Local\npm-
参考1 参考2 解决方案 # 点击安装源 协议选择 http:// 路径填写 mirrors.aliyun.com/centos/8.3.2011/BaseOS/x86_64/os URL类型 软件库URL 其他路径 # 版本 7 mirrors.aliyun.com/centos/7/os/x86
报错1 [root@slave1 data_mocker]# kafka-console-consumer.sh --bootstrap-server slave1:9092 --topic topic_db [2023-12-19 18:31:12,770] WARN [Consumer clie
错误1 # 重写数据 hive (edu)&gt; insert overwrite table dwd_trade_cart_add_inc &gt; select data.id, &gt; data.user_id, &gt; data.course_id, &gt; date_format(
错误1 hive (edu)&gt; insert into huanhuan values(1,&#39;haoge&#39;); Query ID = root_20240110071417_fe1517ad-3607-41f4-bdcf-d00b98ac443e Total jobs = 1
报错1:执行到如下就不执行了,没有显示Successfully registered new MBean. [root@slave1 bin]# /usr/local/software/flume-1.9.0/bin/flume-ng agent -n a1 -c /usr/local/softwa
虚拟及没有启动任何服务器查看jps会显示jps,如果没有显示任何东西 [root@slave2 ~]# jps 9647 Jps 解决方案 # 进入/tmp查看 [root@slave1 dfs]# cd /tmp [root@slave1 tmp]# ll 总用量 48 drwxr-xr-x. 2
报错1 hive&gt; show databases; OK Failed with exception java.io.IOException:java.lang.RuntimeException: Error in configuring object Time taken: 0.474 se
报错1 [root@localhost ~]# vim -bash: vim: 未找到命令 安装vim yum -y install vim* # 查看是否安装成功 [root@hadoop01 hadoop]# rpm -qa |grep vim vim-X11-7.4.629-8.el7_9.x
修改hadoop配置 vi /usr/local/software/hadoop-2.9.2/etc/hadoop/yarn-site.xml # 添加如下 &lt;configuration&gt; &lt;property&gt; &lt;name&gt;yarn.nodemanager.res