Parse Crash报告不起作用 [英] Parse Crash reporting doesn't work

查看:125
本文介绍了Parse Crash报告不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用本指南在iOS上设置Parse崩溃报告但不幸的是,即使在几次崩溃后,我的仪表板上也没有任何内容。

I'm trying to setup Parse crash reporting on iOS, using this guide, but unfortunatly, even after several crashes, there is nothing on my dashboard.

这是我的代码(我使用的是sdk 1.6.3):

Here is my code (i'm using sdk 1.6.3) :

     - (void)crash {
        [NSException raise:NSGenericException format:@"Everything is ok. This is just a test crash."];
     }

     ...

     [ParseCrashReporting enable];
     [Parse setApplicationId:@"********"
          clientKey:@"********"];
     [self performSelector:@selector(crash) withObject:nil afterDelay:10.0];

我跟着故障排除指南


  • 确保您已启用崩溃报告在初始化Parse之前,您的App Delegate。 DONE

  • 如果您正在测试,请确保Xcode没有通过调试器捕获崩溃。 完成

  • 构建,运行,停止应用,然后从主屏幕运行它。
    在下次运行应用程序时发送崩溃。确保应用程序在有机会发送崩溃信息之前不会再次崩溃。如果您正在测试,可以通过添加延迟来确保这一点。 完成

  • 崩溃可能需要一分钟才能显示在信息中心上。完成

  • 确保您没有与您的应用程序链接的任何其他崩溃报告解决方案,因为它们可能会相互干扰。 完成,(禁用乱舞)

  • Make sure you've enabled Crash Reporting in your App Delegate before you initialize Parse. DONE
  • If you're testing, make sure Xcode isn't catching the crash with the debugger. DONE
  • Build, run, stop the app, and then run it from the home screen. Crashes are sent on the next run of the app. Make sure the app isn't crashing again before it has a chance to send the crash information. If you're testing, you can ensure this by adding a delay. DONE
  • Crashes may take up to a minute to show up on the dashboard.DONE
  • Make sure you don't have any other crash reporting solutions linked to your application, as they might interfere with each other. DONE, (disable Flurry)

我尝试了模拟器和设备,因为在这里指挥

I tried on both simulator and device, as recommanded here.

最后,我在我的控制台中显示此消息:

Finally, i've this message in my console:


+ [PFAnalytics trackEventually:params:]:无法识别的选择器已发送到类0x10f08ac20

+[PFAnalytics trackEventually:params:]: unrecognized selector sent to class 0x10f08ac20

非常感谢任何帮助。

推荐答案

Parse必须在v1.6.3中有一个错误,因为我已经下载了v1.6.0并且它运行良好。
你可以在这里下载:

Parse must have a bug in v1.6.3 because I have downloaded v1.6.0 and it works all fine. You can download it here:


https://parse.com/downloads/ios/parse-library/1.6.0

这是启用订单:

[ParseCrashReporting enable];
[Parse setApplicationId:kParse_AppID clientKey:kParse_ClientKey];

这篇关于Parse Crash报告不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆