Search code examples
iosipadxamarin.ioscrash-dumpscrash-reports

How to capture iOS crashes in MonoTouch application


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.

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?


Solution

  • 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.

    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 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.