使用Flurry和Monotouch进行崩溃报告

时间:2014-03-27 11:45:33

标签: xamarin.ios crash-reports flurry

我正在使用Flurry Analytics和Xamarin.iOS编写iOS应用程序。我使用来自here的绑定(Flurry SDK 4.2.3)。在FinishedLaunching()方法中,我调用:

Flurry.SetCrashReportingEnabled(true);
Flurry.StartSession(FlurryAPIKey);

一切都成功编译并启动。 在Flurry仪表板中显示实际数据后,我看到同一个调用堆栈出现了很多错误:

0   Fines                               0x0049e500 -[FlurryPLCrashReporterConfig symbolicationStrategy] + 4334767
1   Fines                               0x0049e61c -[FlurryPLCrashReporterConfig symbolicationStrategy] + 4335051
2   Fines                               0x0049e908 -[FlurryPLCrashReporterConfig symbolicationStrategy] + 4335799
...
30  Fines                               0x00685c53 -[FlurryPLCrashReporterConfig symbolicationStrategy] + 6331394
31  libsystem_pthread.dylib             0x38a90919 <redacted> + 140
32  libsystem_pthread.dylib             0x38a9088b __pthread_start + 102
33  libsystem_pthread.dylib             0x38a8eaa4 _thread_start + 8

这个调用堆栈是什么意思?使用Monotouch和Flurry跟踪所有未处理异常的正确方法是什么?

1 个答案:

答案 0 :(得分:0)

来自乱舞常见问题:

My strack traces are de-symbolicated/obfuscated.
For iOS applications we have partnered with Plausible Labs to create an innovative technology that re-symbolicates most of the stack trace in the application itself so you do not need to provide a desym file to use the service. We also provide ways to upload your desym file to improve your stack trace detail and to support Android applications. On the stack trace detail page, there is the option to upload either the dsym file (iOS) or the Proguard mapping file (Android). Once you upload the file, we’ll try and symbolicate the stack traces for you.

dsym文件表示扩展名为.dSYM的文件,它应该位于包含.ipa版本的文件夹中。另外dSYM文件对于每个新构建都是uniq,不要忘记保存dsym文件。