1

Is it possible to create a crash log .txt file within a app that refreshes itself with the crash reports every-time our app get crashed.

A_Curious_developer
  • 483
  • 1
  • 5
  • 12

3 Answers3

2

General answer is YES.There are already crash log for it.

Case 1.There are two scenarios,first you want to use it while developing or want user to send you the crash log.

When ever a device (iPhone,iPad etc) are synced with a mac crash log get stored in

Mac OS X : ~/Library/Logs/CrashReporter/MobileDevice/
Windows XP: C:\Documents and Settings\Application Data\Apple computer\Logs\CrashReporter/
Windows7 : C:\Users\\AppData\Roaming\Apple computer\Logs\CrashReporter/MobileDevice/

Case2 If you want to get crash reports from a app on store and you want to retrieve it automatically then you can use https://try.crashlytics.com/

amar
  • 4,285
  • 8
  • 40
  • 52
2

Click show the report navigator which show every build's crash report in Xcode(Last Message like button)

Click show the report navigator which show every build's crash report in Xcode

enter image description here

Then you can check exact bug. Hope this will help.

Avijit Nagare
  • 8,482
  • 7
  • 39
  • 68
1

I don't know to create but i can find logs in mac os

link - /Library/Logs/CrashReporter/MobileDevice/<DEVICE_NAME>

and see this link its help you because it provide many online site which see the crash occur on client side and show the exact time and line where crash occur

http://www.raywenderlich.com/33669/overview-of-ios-crash-reporting-tools-part-1

Nishant Gupta
  • 131
  • 15