Crash log for the ios enterprise app

I would like to retrieve the crash logs of those users who are using my enterprise application. In the case of App Store apps, I can get this information from iTunes connect. Since there is no App Store intervention in an Enterprise deployment, you don't know how to access this information.

Is there any Objective-C API through which I can access the crash logs from the application code and upload them to my server using a web service?

+3


source to share


3 answers


There is no Objective-C API available to access iOS generated crash reports. The only way to automatically access them is to add a crash reporting infrastructure to your applications, which also get into crashes and allow them to be sent to a service or your own server.

I highly recommend not creating your own crash reports or exception handling mechanism, as it is too difficult to do it correctly and not introduce more dangerous problems that could, for example, cause application users to lose data.



The second part of my answer here contains several options: contains open source projects, open source SDK services, and closed source options: iOS crash log catch, debug info .. Catch and email to Dev team .

+3


source


Try using Crashlytics .



Very powerful. Very nice to use.

+1


source


You can instruct your users to fetch magazines from iTunes and send them to you. Take a look at the Sending Crash Reports to a Developer section of this document: http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow/35-Distributing_Applications/distributing_applications.html

0


source







All Articles