iOS crash symbol

xcode 7.3

export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer

/Applications/Xcode.app//Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash xx.crash xx.app >crash.log

iOS crash symbol_第1张图片

1. app和symbol放同一目录

2. 首先看看app和对应的symbol是否匹配

bogon:Payload megar$ dwarfdump --uuid SuBook.app

warning: unsupported file type: 'SuBook.app'

bogon:Payload megar$ dwarfdump --uuid SuBook.app/SuBook

UUID: E7284BF7-38A3-3E94-8463-E655B95147C2 (armv7) SuBook.app/SuBook

UUID: 477D0D86-DB1E-39F1-99F9-4598ED5DC8B6 (arm64) SuBook.app/SuBook

bogon:Payload megar$ dwarfdump --uuid SuBook.app.dSYM

UUID: E7284BF7-38A3-3E94-8463-E655B95147C2 (armv7) SuBook.app.dSYM/Contents/Resources/DWARF/SuBook

UUID: 477D0D86-DB1E-39F1-99F9-4598ED5DC8B6 (arm64) SuBook.app.dSYM/Contents/Resources/DWARF/SuBook

3. 使用命令

xcrun atos -oSuBook.app/SuBook -arch arm64 -l 0x100018000 0x0000000100247168

__34-[LoginViewController viewDidLoad]_block_invoke.75 (in SuBook) (LoginViewController.m:86)  


分析iOS Crash文件:符号化iOS Crash文件的3种方法 - CocoaChina 苹果开发中文站 - 最热的iPhone开发社区 最热的苹果开发社区 最热的iPad开发社区   

符号化iOS崩溃报告 -

Technical Note TN2151: Understanding and Analyzing iOS Application Crash Reports

你可能感兴趣的:(iOS crash symbol)