如何在MonoTouch应用程序中捕获iOS崩溃 [英] How to capture iOS crashes in MonoTouch application
问题描述
我们已经登录了我们的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屋!