Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Read iOS system logs using swift

Is there a way to read iOS logs that are under Settings>Privacy>Analytics>Analytics Data with some swift (or eventually objective c) code?

like image 595
Roberto Tonini Avatar asked Dec 30 '25 19:12

Roberto Tonini


1 Answers

It is not possible to access the analytics data / crash logs of your device from within your application. There are only two ways to get those data:

  1. Connect your device to a Mac or PC and read them out with iTunes
  2. Collect the data sent by your users from iTunes Connect

Here is a great article, which describes how to get crash logs and what to do with them: https://www.raywenderlich.com/23704/demystifying-ios-application-crash-logs

like image 97
sundance Avatar answered Jan 02 '26 09:01

sundance



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!