开发者

how to send crash file from iphone device?

I want to implement functionality such as after the application is distributed, if application get crashed on the device and user start it again then application should ask the user to send the crash report at predefined email address.

I want to know that how can I get the crash log when application get crashed ? I want to attach crash file in mail and if user wish to send that report, he/she can send it to the already defi开发者_JS百科ned email address.

How can I know at which point application get crashed ?

I searched on google but could not understand the approach.

Thanks...


In Xcode, open Organizer. Then select the device with which the crash occurred. Under that, select Device Logs. If u want to open that file, do Right click on that, and reveal in finder.


If you have uploaded the app to iTunes store, then log into iTunes connect and navigate to your application in "Manage your applications" and then to "View details" and then under "Links" you will see "Crash Reports". Apple gathers these crash reports from the users' devices and sends it to you on your iTunes connect portal. Check out the FAQ of iTunes connect portal about Application crash logs.


I got crash manager library from here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜