Is it possible to access crash logs stored on iPhone through my app?
Is it possible to开发者_StackOverflow access crash logs and console logs stored on iPhone through my app?
If so, how can i do it?
You can access them through the device organizer in the dev tools. They'll be available even if the phone is not a registered development device for you.
Check out PLCrashReporter. It does just that, but you do need to upload the crash logs somewhere, then desymbolicate them. Just a warning, this does override the default crash reporting to Apple, so be careful shipping an app with this in it.
精彩评论