Accessing iOS crash report from iOS app - iphone

There are quite a few tutorials on how to access crash reports using a computer, but what I would like my app to do is scan for crash reports (from itself) on startup--so that users can use my app to send me their reports. Is this possible?

PLCrashReporter is an open source crash reporting framework that can be added to an iOS App. Reports are generated in protobuf encoded format, which should allow an app to upload these reports to a server.

Take a look at these few resources that may have the solution you need:
https://testflightapp.com/
http://www.hockeyapp.net/
http://quincykit.net/

You can get them using your itunes connect account
When the user synchronizes their device using iTunes, crash reports are copied to a
directory on the user's computer. If the application was distributed via the App Store and
the user has chosen to submit crash logs to Apple, the crash log will be uploaded and the
developer can download it via iTunes Connect.
You can also use Crittercism which directly sends you an email once a crash happens.

Another proprietary (but free) framework you can use for crash reporting is Crashlytics.

Related

LOB Windows store App Quality and Crash Reports

I am working with LOB windows store app, which will not go to the store, it will be used by the company employees. My Question, Is there any way to report when the app crash? , something like the app dashboard when the app is published to the store.
Thanks for help.
You can use 3rd party library to get log about crash and exception. I have used MarkedUp. Another way is to create own web service which sends crash log to some database.

I can not get a crash report in iTunes Connect

I raised the App on the App Store.
I've check in iTunes Connect, crash reports do not accumulate.
Currently using Xcode 4.4 and the App name CityOfOz.
I wonder~T.T.
Other tasks necessary to use crash reports?
How to accumulate based on the crash logs?
I will wait your kind response.
iTunes connect only shows crash reports after a specific group reached a threshold (the amount of crashes needed for that is unknown). Also the list can only be updated once a day. In addition it only shows crash reports if the user did allow to send anonymous data to be send to Apple when setting up the device. Most users don't allow that, hence you don't see any reports. Also before iOS 5.0 these reports would only be send to Apple when the device is synced with iTunes.
I listed some alternatives on how to get crash reports fast and reliably as part of the following answer: Including custom data into iOS crash dumps
As mentioned by Kemi, the crash reports section in iTunes Connect isn't particularly useful. These days most developers use a third party crash report tool.
In my experience, crashlytics (http://try.crashlytics.com) is one of the best solutions.

How to get crash log in iOS SDK

Is it possible to get the crash log from my app? I know that we can get the exception handler by NSSetUncaughtExceptionHandler, but I want to get the crash file which could be found by Organizer. I want to access that file and send to my server. Is there any supported SDK to do that?
Thanks!!
The popular service HockeyApp is based on open source software that has it's own client that lives in your app and a basic server to collect crash reports from your app.
Check out their github account for more information on setting it all up.
https://github.com/TheRealKerni/QuincyKit

how to get iPhone device Crash Log file without syncing to Itune

I need to access iphone crash log file via programmatically. I trying to write a crash report feature that when you launch the app after a crash, it will offer to send the crash report to the server. I can't find how to get the crash log within the app. I saw there is a framework that doing so (PLCrashReporter), however this framework is large and I don't need most of it's features. is any library or IOS code to read crash log file .
Check out http://quincykit.net/ for your self hosted php based solution, contains all you need. Or a hosted service, there are plenty out there right now.

How to get iPhone app users to submit crash reports? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
iphone how to get crash log from customers?
Some of my users are reporting crashes. What is the best way to explain to them how to send me their crash reports, so that they show up in the iTunes Connect list of crash reports? Do they get sent when users sync their phone with their computers? Thanks!
They will show up in iTunes Connect automatically if the users have enabled that.
When the user synchronizes their device using iTunes, crash reports
are copied to a directory on the user's computer. If the application
was distributed via the App Store and the user has chosen to submit
crash logs to Apple, the crash log will be uploaded and the developer
can download it via iTunes Connect.
See: http://developer.apple.com/library/ios/#technotes/tn2008/tn2151.html
I've been using Crittercism to automatically get crash reports. I like it better than iTunes because you get an email alert immediately after a crash.
When the users sync with the computer they go to:
Mac OS X :
~/Library/Logs/CrashReporter/MobileDevice/
Windows XP: C:\Documents and Settings\\Application
Data\Apple
computer\Logs\CrashReporter/
Windows Vista:
C:\Users\\AppData\Roaming\Apple
computer\Logs\CrashReporter/MobileDevice/
The log file names start with application name and have the extension “crash”. They are just plain text files and can be sent by e-mail in original or zipped form, or even copy-pasted into your e-mail program.
From: http://www.anoshkin.net/blog/2008/09/09/iphone-crash-logs/ after a SIMPLE search on google for "iphone crash reports".
You could use BugSense and get crash reports without asking the users.
Disclaimer: I am a co-founder at BugSense
In iTunes, with their device tethered, if the user control-clicks on the name for their device, they will be able to select "Reset Warnings". Afterwards, a dialog box will pop up when the user next Syncs their device asking if it's OK to send data to Apple. If they click OK, then iTunes will upload all the crash logs from their device to Apple's servers.
Afterwards, you should be able to find your crash logs in iTunes Connect, and download them yourself. New crash logs will appear if your app still has problems and the user Syncs again, all automagically.