如何在 MonoTouch 应用程序中捕获 iOS 崩溃 [英] How to capture iOS crashes in MonoTouch application

查看:20
本文介绍了如何在 MonoTouch 应用程序中捕获 iOS 崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已针对 iPad MonoTouch 应用程序中发生的任何 .Net Framework 异常进行登录,并将这些异常返回给我们的支持部门以帮助分析和解决问题.

We have logging in place for any .Net Framework exceptions that occur in our iPad MonoTouch application and can get these back to our support department to help analyze and resolve issues.

但是,如果应用程序由于 iOS 错误(即 sigsev)而崩溃,我们不确定如何捕获该信息或告诉我们非常不熟练的用户如何获取并将其提供给我们.

However, if the application crashes due to an iOS error (i.e. sigsev), we are unsure how to capture that information or tell our very unsophisticated users how to obtain and provide it to us.

任何人都可以就此提供任何指导吗?

Can anyone offer any guidance on this?

推荐答案

崩溃通常会(但并非总是如此,例如内存不足)在设备上创建崩溃日志.iTunes 会将它们下载到用户的计算机上.

Crashes will often (but not always, e.g. out-of-memory) create crash logs on the device. iTunes will download them to the user's computers.

您是否通过 appstore 发布您的应用程序?如果是这样,您应该能够获取崩溃日志 从它(iTunes 会上传它们).

Are you releasing your application thru the appstore ? If so you should be able to get the crash logs from it (iTunes will upload them).

如果没有,那么以下文档(和部分)可能有助于了解它们(并为最终用户创建一个程序以将崩溃报告发送给您).

If not then the following documents (and sections) can be useful to know about them (and to create a procedure for end-users to send the crash reports to you).

发送崩溃向开发者报告

Xamarin 正在努力让 Testflight SDK 与 MonoTouch(即服务本身(已分发)工作并集成在最新的 MonoDevelop 版本中.这将为您提供另一个选项(用于崩溃报告).

Xamarin is working on getting the Testflight SDK to fully work with MonoTouch (i.e. the service itself (distribution already works and is integrated in the latest MonoDevelop releases). That will give you another option (for crash reporting) in the future.

这篇关于如何在 MonoTouch 应用程序中捕获 iOS 崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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