简体   繁体   English

我的应用程序因Flurry而崩溃

[英]My App crashes with Flurry

I am having a little problem with flurry. 我在打乱时有点问题。 I am trying to integrate the sdk in my IOS app and when the application goes in background it crashes.This happens only if i start the Flurry session. 我正在尝试将sdk集成到我的IOS应用程序中,并且当应用程序在后台运行时会崩溃。仅当我启动Flurry会话时才会发生这种情况。 It is a sprite kit game but the sprite kit part starts later in my app and my app crashes whether the sprite kit started or not . 这是一个Sprite Kit游戏,但是Sprite Kit部分稍后会在我的应用程序中启动,无论Sprite Kit是否启动,我的应用程序都会崩溃。 This is the error : gpus_ReturnNotPermittedKillClient (). 这是错误:gpus_ReturnNotPermittedKillClient()。

Can you tell me what is happening? 你能告诉我发生了什么吗?

Have you set "Library Search Path" in Build Settings of Target for "$(SRCROOT)/AppNameFolder/Flurry" ? 您是否在“ $(SRCROOT)/ AppNameFolder / Flurry”的目标构建设置中设置了“库搜索路径”?

Just add these 2 lines in main delegate method didFinishLaunchingWithOptions in AppDelegate.m 只需在AppDelegate.m中的主委托方法didFinishLaunchingWithOptions中添加这两行

[Flurry setCrashReportingEnabled:YES];
[Flurry startSession:@"Key Goes Here"];

Regards. 问候。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM