查看dsym错误信息
To properly get symbols from your archived app's dSYM file and get useful information from your BugSense crash reports (or any other crash reports for that matter):
- Copy the stack trace from BugSense into TextEdit or any other text editor. Make sure to use the "clipboard" icon, rather than simply copying the text. Otherwise you will not get the actual memory locations of the stack trace, which are necessary to look up the references using
atosand symbolicate your stack trace. - Open XCode and go to the Organizer
- Find your archive and right-click it, go to open it in the finder.
- Navigate to the directory of the archive, usually
~/Library/Developer/XCode/Archives/YYYY-MM-DD/ - Go into the specific archive, and then the
dSYMsfolder - You will see the file
MyApp.app.dSYMand you may think, this is the file that I should runatosagainst! This is incorrect. It is actually another package!cdinto this package, into the folder:MyApp.app.dSYM/Contents/Resources/DWARFand you will find another file simply calledMyApp. This is the actual dSYM file. - Run
atos -arch armv7 -o MyApp 0x0000000(or whatever the memory address is) to find the location of your error, or simplyatos -arch armv7 -o MyAppto enter interactive mode.
参考:http://stackoverflow.com/questions/7675863/atos-cannot-get-symbols-from-dsym-of-archived-application

浙公网安备 33010602011771号