Application received signal SIGSEGV
(null)
(
0 CoreFoundation 0x2f2dde9b + 154
1 libobjc.A.dylib 0x3963a6c7 objc_exception_throw + 38
2 CoreFoundation 0x2f2dddc5 + 0
3 MyApp 0x1cc7f1 _ZN15CTXAppidConvert10IsMQQAppIdEPKc + 186764
4 libsystem_platform.dylib 0x39c4c71b _sigtramp + 34
5 MapKit 0x304984c3 + 50
6 VectorKit 0x36cf036d + 72
7 VectorKit 0x36cf0a0b + 42
8 GeoServices 0x33de6717 + 54
9 libdispatch.dylib 0x39b1f0c3 + 10
10 libdispatch.dylib 0x39b1f0af + 22
11 libdispatch.dylib 0x39b219a9 _dispatch_main_queue_callback_4CF + 268
12 CoreFoundation 0x2f2a85b1 + 8
13 CoreFoundation 0x2f2a6e7d + 1308
14 CoreFoundation 0x2f211471 CFRunLoopRunSpecific + 524
15 CoreFoundation 0x2f211253 CFRunLoopRunInMode + 106
16 GraphicsServices 0x33f4b2eb GSEventRunModal + 138
17 UIKit 0x31ac6845 UIApplicationMain + 1136
18 MyApp 0xbea3 MyApp + 32419
19 MyApp 0xbe58 MyApp + 32344
) dSYM UUID: 59855B3F-C31E-31C9-994D-D705F41B0416
CPU Type: armv7s
Slide Address: 0x00004000
Binary Image: MyApp
Base Address: 0x00058000
在友盟的崩溃统计里,我们经常看到这样的日志记录,但是调用栈全是16进制地址。哦,啥也看不懂~~,那我们就需要进行symbiolicate。
- 打开 Xcode中等的Organizer,这个开发者都知道
- 找到archive右击, 在finder中显示.
- 找到MyApp.app.dSYM文件,拷贝到桌面
- cd命令到MyApp.app.dSYM/Contents/Resources/DWARF
- atos -arch armv7 -o MyApp 0x0000000
OK,终端里显示的就是你想要看到的代码行。