OSX以及IOS app 崩溃符号查找

奔溃信息:

Thread 29 Crashed:
0   my            	0x000000010c27d2d4 0x10c14d000 + 1245908
1   my            	0x000000010c287625 0x10c14d000 + 1287717
2   my            	0x000000010c27669f 0x10c14d000 + 1218207
3   my            	0x000000010c2997e0 0x10c14d000 + 1361888
4   my            	0x000000010c29959f 0x10c14d000 + 1361311
5   my            	0x000000010c28c4e4 0x10c14d000 + 1307876
6   my            	0x000000010c29c46d 0x10c14d000 + 1373293
7   libsystem_pthread.dylib       	0x00007fff5ca432eb _pthread_body + 126
8   libsystem_pthread.dylib       	0x00007fff5ca46249 _pthread_start + 66
9   libsystem_pthread.dylib       	0x00007fff5ca4240d thread_start + 13

 

输出奔溃代码行号:

atos -arch x86_64 -o ~/crash/my.app.dSYM/Contents/Resources/DWARF/my -l 0x10c14d000 0x000000010c29c46d

注意不同平台应用需要调整 -arch,osx app的话使用x86_64,ios app真机的话使用armv7arm64等等都可以

你可能感兴趣的:(mac,ios)