Is there a way to read the crash log of an app at runtime?

What I mean is this, have some method running at the first beginning of an app that will monitor if the app crashed last time. If so, it will read the crash log, attach it to an email and send it to me.

I know apple has that functionality on iTC but it just shows crashes for a large amount of users and I want to know about all crashes that may be happening without my knowledge. You know, users don't give a crap and will never warn you.

Is this possible?

有帮助吗?

解决方案

You could try using the TestFlight SDK. If the app crashes a crash report can be read on the website.

https://testflightapp.com/sdk

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top