用户说,iOS应用程序崩溃,没有任何进一步的解释 [英] Users say that the iOS app crashes without any further explanation

查看:154
本文介绍了用户说,iOS应用程序崩溃,没有任何进一步的解释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在iTuens的应用程序是相当受欢迎,用户写的错误评论说,应用程序崩溃有时没有任何理由或解释。

I have an app in iTuens which is quite popular and the user are writing bad reviews saying that the app crashed sometimes without any reason or explanation.

我已经在模拟器和真实设备上测试了应用程序。它对我工作正常,也没有内存泄漏在xCode中。

I have tested the app both on simulator and on a real device. It works fine for me and there are no memory leaks in xCode either.

在这种情况下我可以如何解决崩溃?
是否有任何崩溃报告API,我可以在应用程序中实现,以便用户可以在应用程序中发送崩溃日志到我?

What can I do in this situation to fix the crash? Is there any crash reporting API that I could implement in the app so that the user can send the crash log to me within the app?

推荐答案

有多个选项可用,部分完全开放,部分免费,部分付费。

There are multiple options available, some fully open source, some partly, some free, some paid.

iTunes Connect大多不起作用。原因是:

iTunes Connect mostly doesn't work. The reasons are:


  • 在旧版本的iOS版本中,人们需要将设备同步到iTunes,然后将崩溃报告上传到iTunes Connect 。但是这些用户在设置设备时必须同意发送匿名使用和诊断数据给Apple。

  • 在较新的iOS版本(我认为它开始于iOS 6)中,设备直接向iTunes Connect发送崩溃报告。但是在这种情况下,用户在设置设备时必须批准发送匿名使用和诊断数据。大多数人只是不允许这一次。如果您在设置应用程序的常规关于下允许它,则可以查看自己,然后向下滚动到诊断&用法

  • In older iOS Versions, people needed to sync the device to iTunes, which would then upload the crash reports to iTunes Connect. But these users had to agree to "sending anonymous usage and diagnostic data" to Apple when setting up the device. Most people just don't allow that.
  • In newer iOS Versions (I think it started in iOS 6) the device is sending crash reports directly to iTunes Connect. BUT also in this case, the user has to approve "sending anonymous usage and diagnostic data" when setting up the device. Most people just don't allow that again. You can check yourself if you allowed it in the Settings app under General, About, then scroll down to Diagnostics & Usage.

因此,获取崩溃报告的最好方法进入您的应用程式。由于隐私权原因,您应允许用户允许或拒绝发送报告。大多数人都允许这样做,因为对话框大多是说匿名数据来修复导致应用程序崩溃的错误,并且(希望)不会发送任何隐私有问题的数据在那里也。但是魔法是我认为,它不会在这样的全局上下文中说使用数据。从来没有遇到过问题,即使显示警报,让用户决定,也有一个选项总是发送

So the best way to get crash reports (sadly) is to include a crash reporting library into your app. Due to privacy reasons, you should allow the users to allow or deny sending the reports. Most people do allow this, since the dialogs mostly say something like anonymous data to fix the bug that caused the app to crash and (hopefully) won't send any privacy problematic data in then too. But the magic is I think, that it doesn't say usage data in such a global context. Never had problems in all the years not getting crash reports even though showing alerts and letting the users decide, also with an option to Always send.

以下答案显示可用崩溃报告解决方案的概述:如何使用代码提供的崩溃报告生成崩溃报告

The following answer shows an overview of available crash reporting solutions: how to generate crash report using code like crash report provided by Apple

这篇关于用户说,iOS应用程序崩溃,没有任何进一步的解释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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