I am looking to retrieve the crash logs in iPhone programmatically. Under iOS 10 and above, the list of logs can be found here :
Settings --> Privacy -->Analytics --> Analytics Data-->logfiles.json
Is it possible to access the log files programmatically. I am basically looking to get all the files that are found in the data section.Not just the files related to my app.
Note : I am not looking here for Appstore approval.
There is no public or private API to collect the crash reports iOS generates. On Jailbroken devices you should be able to go to the file system folder where iOS stores them and collect them directly from there. (You would need to find this folder as I don't know the exact location right now, but it is probably similar to where macOS stores them)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With