ios - 崩溃 : com. apple.spritekit.renderQueue

标签 ios sprite-kit urbanairship.com bugsense apptentive

我们正在开发一款 SpriteKit iOS7 游戏,游戏运行良好,但如果我们集成以下任何库,游戏在发送到后台时会崩溃: - 飞艇。 -错误感。 - 有吸引力。

这是 Crashlytics 崩溃报告:

线程:崩溃:com.apple.spritekit.renderQueue

0  libGPUSupportMercury.dylib     0x3478b8f6 gpus_ReturnNotPermittedKillClient
1  libGPUSupportMercury.dylib     0x3478c391 gpusSubmitDataBuffers
2  IMGSGX543GLDriver              0x2ec9982d SubmitPackets
3  GLEngine                       0x320fbc3d gliPresentViewES + 172
4  OpenGLES                       0x32106139 -[EAGLContext presentRenderbuffer:] + 64
5  SpriteKit                      0x325701b1 -[SKView _renderContent] + 1216
6  libdispatch.dylib              0x3a6fdd07 _dispatch_client_callout + 22
7  libdispatch.dylib              0x3a703b9f _dispatch_barrier_sync_f_invoke + 26
8  SpriteKit                      0x3256fcc3 -[SKView renderContent] + 82
9  SpriteKit                      0x3256d663 __29-[SKView setUpRenderCallback]_block_invoke + 130
10 SpriteKit                      0x3258fddb -[SKDisplayLink _callbackForNextFrame:] + 254
11 QuartzCore                     0x3234f9cf CA::Display::DisplayLinkItem::dispatch() + 98
12 QuartzCore                     0x3234f779 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 344
13 IOMobileFramebuffer            0x34f4576d IOMobileFramebufferVsyncNotifyFunc + 104
14 IOKit                          0x30be7a75 IODispatchCalloutFromCFMessage + 248
15 CoreFoundation                 0x2fec5e21 __CFMachPortPerform + 136
16 CoreFoundation                 0x2fed09df __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 34
17 CoreFoundation                 0x2fed097b __CFRunLoopDoSource1 + 346
18 CoreFoundation                 0x2fecf14f __CFRunLoopRun + 1398
19 CoreFoundation                 0x2fe39c27 CFRunLoopRunSpecific + 522
20 CoreFoundation                 0x2fe39a0b CFRunLoopRunInMode + 106
21 GraphicsServices               0x34b29283 GSEventRunModal + 138
22 UIKit                          0x326dd049 UIApplicationMain + 1136
23 SplishyFish                    0x000a95d1 main (main.m:16)

最佳答案

至少,Apptentive 不会调用任何 OpenGL。我怀疑将这些库添加到您的应用程序可能只是暴露了在某些其他上下文中会发生的问题(例如,当应用程序在后台运行时,主运行循环中有待处理的事件要处理)。

也就是说,上面的回溯与本线程中的回溯相同:

Spritekit crashes when entering background

这里有一个解决方案:

Sprite Kit & playing sound leads to app termination

应用程序后台运行时播放音频的问题。这可能是问题所在吗?

如果不是,另一个可能的罪魁祸首是 OpenGL rendering ,正如其他人所说。

关于ios - 崩溃 : com. apple.spritekit.renderQueue,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22157121/

相关文章:

ios - 在iOS上将链接(图像URL或网站URL)发布为Instagram的标题

iphone - 如何在用户选择 Cell 图像时更改它?

ios - SKPhysicsBody 质量变化中心

objective-c - 使用 Physics SKSpriteNode 子项暂停 SpriteKit 游戏

android - 更改 phonegap 项目的 android 包名称

iphone - APNS 提供列表 - 哪些公司是推送通知服务器提供商

android - Urban Airship 设备注册在应用数据清除后生成新的 APID

c# - 如何在 Xamarin.Forms 中获取嵌入文件的 URL/路径

ios - 密码保护 iPhone 应用程序

ios - ARKit 根据触摸位置设置 ARAnchor 变换