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.
-
Try with: https://try.crashlytics.com/ It's better for tracking your crash log – Long Pham Jul 29 '15 at 07:30
-
yes i have used crashlytic for getting crash log but what I want is to save the crashlog within my app in a txt file. – A_Curious_developer Jul 29 '15 at 07:31
-
A_Curious_developer see this: http://stackoverflow.com/questions/8233388/ios-crash-log-catch-debug-info-catch-and-send-via-email-to-the-dev-team – Long Pham Jul 29 '15 at 07:37
3 Answers
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/

- 4,285
- 8
- 40
- 52
Click show the report navigator which show every build's crash report in Xcode(Last Message like button)
Then you can check exact bug. Hope this will help.

- 8,482
- 7
- 39
- 68
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

- 131
- 15