i want to generate crash report for Symbolicate iOS Crash to View Crash Logs,so i want to get the crash report using code,at present i only get :
* -[__NS
So you want to write your own crash reporter so you can get the reports and symbolicate them?
Writing crash reports is very very hard, see these two articles from the developer of the Open Source library PLCrashReporter to get an idea what is involved: http://landonf.bikemonkey.org/code/objc/Reliable_Crash_Reporting.20110912.html and http://landonf.bikemonkey.org/code/crashreporting/Reliable_Crash_Reporting_1.1.20130119.html
In short:
All the details you are asking and the ones that are not yet asked to write such a reporter would require to write way more than could fit in an answer.
Just don't write it yourself and safe yourself some trouble. There are plenty of ready to use solutions out there. Some are Open Source and can be validated if they are safe to the above rules, some are closed source and cannot be easily validated (The articles above do go into details for some of them).
I will not make any recommendation on the various solutions, since I am biased as I am a developer of one Open Source and one commercial solution. The articles linked above do analyze some of the available solutions.
So here are some.
Open Source:
Hosted/Commercial Solutions:
There surely are some more out there which I forgot about.
In Xcode target,
set 'Debug information Formate' to DWARF.
Generate Debug Symbols : Yes
Strip Debug Symbols During Copy: YES
See image for more info. In final upload make sure you revert same. This is for testing.
For this you need to have a dYSM file that was generated at the time of creating your distribution build.
Below link can be of some help to you..
Symbolicating iPhone App Crash Reports