Crashlog链接到.dSYM [英] Crashlog links to which .dSYM

查看:146
本文介绍了Crashlog链接到.dSYM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有很多来自不同用户的崩溃日志,我有不同的构建和dSYM文件现在我如何确保特定的crashlog属于哪个build和dSYM文件。

I have got many crash logs from different users, I have different builds and dSYM file now how can i make sure a particular crashlog belongs to which build and dSYM file.

是否有任何方法检查crashlog和dSYM是否属于同一个构建... ??

Is there is any way to check if both crashlog and dSYM belongs to same build...??

谨慎,

推荐答案

好吧,谢谢你的回复,这帮助了我很多。我已经找出了正确的方法来找到dSYM文件中的crashlog之间的关系。我与你分享这个:

Okay guys thanks for your replies, It helps me a lot. I have figured out the proper way of finding the relation between crashlog in dSYM file. I am sharing this with you:

所以首先将所有的crashlog和dSYM保存在一个目录下,运行下面的命令,给你UUIDS的应用程序和UUID的crashlog如果他们匹配你好。在运行命令之前,请确保您在同一个文件夹中保存所有这些文件。

So first of all keep all your crashlog and dSYM in a single directory and run following commands wich gives you UUIDS of your application and the UUID of crashlog if they match you good. And before running commands please make sure you are in the same folder where you have kept all this files.

首先运行命令:

mdls YourApp.app.dSYM  

这将给你以下结果(示例):

Which will give you following result(Sample):

com_apple_xcode_dsym_paths =(
Contents / Resources / DWARF / YourApp

com_apple_xcode_dsym_uuids =(
9AD4BCAF-C847-38B1-9055-CF4221BE2F65

kMDItemContentCreationDate = 2012-08-27 08:42:40 +0000
kMDItemContentModificationDate = 2012-08-27 08:42:40 +0000
kMDItemContentType =com.apple.xcode.dsym
kMDItemContentTypeTree =(
com.apple.xcode.dsym,
com.apple.package,
public .directory,
public.item

kMDItemDateAdded = 2012-09-06 11:30:37 +0000
kMDItemDisplayName =Yourapp.app.dSYM
kMDItemFSContentChangeDate = 2012-08-27 08:42:40 +0000
kMDItemFSCreationDate = 2012-08-27 08:42:40 +0000
kMDItemFSCreatorCode =
kMDItemFSFinderFlags = 0
kMDItemFSHasCustomIcon = 0
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSIsStationery = 0
kMDItemFSLabel = 0
kMDItemFSName =YourApp.app.dSYM
kMDItemFSNodeCount = 1
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 501
kMDItemFSSize = 58267749
kMDItemFSTypeCode =
kMDItemKind =Package
kMDItemLogicalSize = 58267749
kMDItemPhysicalSize = 58273792

com_apple_xcode_dsym_paths = ( "Contents/Resources/DWARF/YourApp" ) com_apple_xcode_dsym_uuids = ( "9AD4BCAF-C847-38B1-9055-CF4221BE2F65" ) kMDItemContentCreationDate = 2012-08-27 08:42:40 +0000 kMDItemContentModificationDate = 2012-08-27 08:42:40 +0000 kMDItemContentType = "com.apple.xcode.dsym" kMDItemContentTypeTree = ( "com.apple.xcode.dsym", "com.apple.package", "public.directory", "public.item" ) kMDItemDateAdded = 2012-09-06 11:30:37 +0000 kMDItemDisplayName = "Yourapp.app.dSYM" kMDItemFSContentChangeDate = 2012-08-27 08:42:40 +0000 kMDItemFSCreationDate = 2012-08-27 08:42:40 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = 0 kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = 0 kMDItemFSLabel = 0 kMDItemFSName = "YourApp.app.dSYM" kMDItemFSNodeCount = 1 kMDItemFSOwnerGroupID = 20 kMDItemFSOwnerUserID = 501 kMDItemFSSize = 58267749 kMDItemFSTypeCode = "" kMDItemKind = "Package" kMDItemLogicalSize = 58267749 kMDItemPhysicalSize = 58273792

现在,您得到了您的dSYMB文件的UUID(粗体)。

Now here you got the UUID (in bold) of your dSYMB file.

现在运行以下命令:

grep "+YourApp" *crash 

这将导致:

YourApp 8-27-12 2-25 PM.crash:0xe6000 - 0x8e9fff + YourApp armv7 < 9ad4bcafc84738b19055cf4221be2f65> /var/mobile/Applications/A5870F65-2694-4A06-BBDE-8BCA709FB838/Bitzer.app/ Bitzer

YourApp 8-27-12 2-25 PM.crash: 0xe6000 - 0x8e9fff +YourApp armv7 <9ad4bcafc84738b19055cf4221be2f65> /var/mobile/Applications/A5870F65-2694-4A06-BBDE-8BCA709FB838/Bitzer.app/Bitzer

在这个结果中,你会发现一个32位字符串(粗体),它是应用程序二进制文件的UUID。如果此UUID与您的dSYM文件UUID匹配,那么它们属于同一构建。

So in this result again you will find a 32 digit string(in bold) which is UUID of your applications binary. If this UUID match with your dSYM files UUID then they belongs to the same build.

这是我所观察到的。我已经投票了所有的答复再次感谢您的答复不断帮助人民好运...:)

This is all i have observed. I have up voted all the replies again thanks for replies keeps helping peoples good luck..:)

这篇关于Crashlog链接到.dSYM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆