简体   繁体   English

iOS - Crashlytics - 错过了几次崩溃

[英]iOS - Crashlytics - missing several crashes

I have problem with Crashlytics (and with crashes shown in Xcode -> Organizer) because I don't see many of crashes that I should. 我有Crashlytics的问题(以及Xcode - > Organizer中显示的崩溃),因为我没有看到很多应该崩溃的崩溃。 From testers I should have many crashes there but I don't have. 从测试人员那里我应该有很多崩溃,但我没有。 I logged into iTunes Connect and get zipped dSYM files there and upload them to Crashlytics to see new crashes. 我登录iTunes Connect并在那里获得压缩的dSYM文件并将其上传到Crashlytics以查看新的崩溃。 But even if it said that there is one or more new crash after upload dSYM I dont see any new crash. 但即使它说上传dSYM后有一个或多个新的崩溃,我也没有看到任何新的崩溃。 It looks like most of crashes I dont see in Crashlytics. 它看起来像我在Crashlytics中看不到的大多数崩溃。 Why is that? 这是为什么? I need to get logs/crashes from devices that runs app from TestFlight. 我需要从TestFlight运行应用程序的设备获取日志/崩溃。 I think with Objective-C and before bitcode it worked much better. 我认为使用Objective-C并且在bitcode之前它的效果要好得多。

Edit: Is it possible that in another tool (from 3rd party company) there would be crashes that aren't in Apple Organizer? 编辑:是否有可能在另一个工具(来自第三方公司)中会出现Apple Organizer中没有的崩溃? I am asking if I should try more tools from other companies. 我在问我是否应该尝试其他公司的更多工具。 Maybe some of crashes are because of memory. 也许一些崩溃是因为记忆。 Is it possible that these crashes aren't in reports? 这些崩溃可能不在报告中吗?

Thanks 谢谢

Fabric shows 1 crash 'row' for each crash, the number of crashes is in the same row. Fabric为每次崩溃显示1个崩溃'row',崩溃次数在同一行。 crash_row

But remember, crashes are only send to crashlytics if the user opens the app again. 但请记住,如果用户再次打开应用程序,崩溃只会发送到崩溃。

You could also test Crashlytics by using: Crashlytics.sharedInstance().crash() 您还可以使用以下Crashlytics.sharedInstance().crash()测试Crashlytics: Crashlytics.sharedInstance().crash()

First make sure you have uploaded your dsym files to your crashlytics dashboard, Check this 首先确保您已将dsym文件上传到crashlytics仪表板,检查一下

在此输入图像描述

Click on the encircled part 单击环绕的部分

在此输入图像描述

Then on your Xcode > Window > Organizer 然后在你的Xcode> Window> Organizer上

在此输入图像描述

Tap Download dSYMs, When the download is complete right click your Archive and click Show in Finder , then right click the package and tap Show Package Contents 点击下载dSYMs,下载完成后右键单击您的存档并单击在Finder中显示 ,然后右键单击该包并点击显示包内容

在此输入图像描述

Open the dSYMs folder, then you can just drag and drop those dSYMs to the Crashlytics Dashboard 打开dSYMs文件夹,然后您可以将这些dSYM拖放到Crashlytics Dashboard

I think that your problem is related to two things: 我认为你的问题与两件事有关:

  1. As Gerrit said in the other answer crashes are sent to Crashlytics if the user opens the app again ; 正如Gerrit在其他答案中所说, 如果用户再次打开应用程序,崩溃将被发送到Crashlytics ;
  2. The crashes in Xcode --> Organizer are displayed only if the user sets on the share of analytics with App Developers. 仅当用户使用App Developers 设置分析共享时,才会显示 Xcode - > Organizer 的崩溃

For more informations take a look at this link: Share analytics, diagnostics, and usage information with Apple . 有关更多信息,请查看此链接: 与Apple共享分析,诊断和使用信息

If people doesn't share the analytics you won't see any crash. 如果人们不共享分析,您将看不到任何崩溃。

EDIT: I found that your problem may also be related to the debugger...for more information check this thread and see if you can find your solution here --> Crashlytics is not sending Crash report from iPhone . 编辑:我发现您的问题也可能与调试器有关...有关更多信息,请查看此主题并查看您是否可以在此处找到解决方案 - > Crashlytics未从iPhone发送崩溃报告 I hope to have been helpful! 我希望能有所帮助!

If the application is crashing before the like in your AppDelegate where you are setting up Fabric / Crashlytics then the crashes are not going to get sent through properly. 如果应用程序在您正在设置Fabric / Crashlytics AppDelegate中之前崩溃,那么崩溃将无法通过正确发送。

It may also be that the crashes you are experiencing are being filed as Out-of-memory crashes by Crashlytics. 也可能是您遇到的崩溃被Crashlytics归档为内存不足崩溃。

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

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