如何在xcode6上符号化 crash log?
来源:互联网 发布:网络成瘾的课件 编辑:程序博客网 时间:2024/05/16 19:52
How to symbolicate crash log Xcode 6 ?
If there ever are problems symbolicating a crash report, one can overcome them as follows:
Create a separate folder, copy
Foo.app
andFoo.app.dSYM
from the corresponding.xcarchive
into the folder. Also copy the.crash
report into the folder.Open the crash report in TextEdit or elsewhere, go to the
Binary Images:
section, and copy the first address there (e.g.0xd7000
).cd
into the folder. Now you can run the following command:xcrun atos -o Foo.app/Foo -arch armv7s -l 0xd7000 0x0033f9bb
This will symbolicate the symbol at address 0x0033f9bb
. Please make sure to pick the correct value for the -arch
option (can be obtaned from the first line in the Binary Images:
section, or figured out from the Hardware Model:
in the crash report and the app's supported archs).
You can also copy the necessary addresses (e.g. a thread call stack) from the crash report directly into a text file (in TextEdit, hold Option and select the necessary text block, or copy and cut), to get something like this:
0x000f12fb0x002726b70x0026d4150x001f933b0x001f86d3
Now you can save this into a text file, e.g. addr.txt
, and run the following command:
xcrun atos -o Foo.app/Foo -arch armv7s -l 0xd7000 -f addr.txt
This will give a nice symbolication for all the addresses at once.
P.S.
Before doing the above, it's worth checking that everything is set up correctly (as atos
will happily report something for basically any supplied address).
To do the checking, open the crash report, and go to the end of the call stack for Thread 0
. The first line from the end to list your app (usually the second one), e.g.:
34 Foo 0x0033f9bb 0xd7000 + 2525627
should be the main()
call. Symbolicating the address (0x0033f9bb
in this case) as described above should confirm that this is indeed main()
and not some random method or function.
If the address is not that of main()
, check your load address (-l
option) and arch (-arch
option).
- 如何在xcode6上符号化 crash log?
- ios crash log获取和符号化
- Crash log符号化与调试信息
- ios--Crash log符号化与调试信息
- 浅谈 iOS 之 Crash log 符号化
- 如何查看iphone 上的crash log
- Crash符号化
- Crash log debug 崩溃日志处理 (日志符号化)
- 如何在Xcode6上添加pch文件
- 教你如何对ios崩溃(crash)日志做符号化
- Crash日志符号化
- 符号化crash文件
- iOS crash日志符号化
- Xcode6在10.9.4上面crash解决
- 如何获取 iOS crash log
- 游戏在手机上如何显示Log
- 符号化(Symbolicating) iOS Crash文件 .
- 苹果.crash文件符号化定位
- Android自定义进度条
- redis学习--基础3 数据类型string
- Hive HBase 整合
- android开发环境搭建
- MapReduce单表关联实验
- 如何在xcode6上符号化 crash log?
- 声讯吸费电话 加值电话吸费 无学历要求
- 图片转换成文字的方法介绍
- hdoj 1007 矩形区域解释
- 吸费电话设备工厂 增值电话平台 小成本高利润
- adb 协议
- 增值电话业务 供应吸费手机 年赚百万
- 编译安装Nginx
- 揭秘响一声电话吸费 声讯电话平台