symbolicatecrash无法找到任何符号

编程入门 行业动态 更新时间:2024-10-24 14:19:54
本文介绍了symbolicatecrash无法找到任何符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在运行XCode 4.5.2,但在使symbolicatecrash无法正常工作时遇到问题.

I'm running XCode 4.5.2 and am having problems getting symbolicatecrash to work.

请注意,这是针对未在我的系统上生成的应用程序和dsym,也不在归档文件中.

Note that this is for an app and dsym that were NOT generated on my system, and aren't in an archive.

到目前为止,我已经:

  • export DEVELOPER_DIR =/Applications/Xcode.app sudo xcode-select
  • sudo xcode-select -switch/Applications/Xcode.app/Contents/Developer
  • cd/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources
  • ./symbolicatecrash -v -o test.txt〜/Downloads/OnDeckCrash/OnDeck_2012-11-26-152754_Andys-phone.crash〜/Downloads/OnDeckCrash/OnDeck.app.dSYM
  • 这没有创建"test.txt". 似乎根本找不到任何符号. 它为每个模块报告如下内容:

    This did NOT create a "test.txt". It seems to be unable to find any symbols at all. It reports something like this for every module:

    ...........fetching symbol file for CoreFoundation--[undef] Searching []...-- NO MATCH Searching in Spotlight for dsym with UUID of e30fc309df7b3c9f8ac57f0f6047d65f Running mdfind "com_apple_xcode_dsym_uuids == E30FC309-DF7B-3C9F-8AC5-7F0F6047D65F" @dsym_paths = ( ) @exec_names = ( ) Did not find executable for dsym ## Warning: Can't find any unstripped binary that matches version of /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation

    请注意,该应用程序包与mSYM包位于同一目录中. 我还尝试将symbolicatecrash添加到我的路径,并从.dSYM和.app所在的目录执行.没什么.

    Note that the app package is in the same directory as the mSYM package. I've also tried adding symbolicatecrash to my path, and executing from the directory where the .dSYM and .app are located. That made no difference.

    关于如何使其正常工作的任何建议?

    Any suggestions on how to get this to work?

    推荐答案

    我今天遇到了同样的问题.在我的情况下,mdfind无法搜索存档(/Users/xxx/Library/Developer/Xcode/Archives/)文件夹.因此,我要做的是转到系统偏好设置"->"Spotlight"->隐私",添加然后删除了Archives文件夹.重新启动Xcode或重新符号化

    I had the same problem today. In my case the mdfind was not able to search the Archives (/Users/xxx/Library/Developer/Xcode/Archives/) folder. So what I did was went to System Preferences->Spotlight->Privacy, added and then removed the Archives folder. Restart Xcode or Re-symbolicate

    mdfind用于symbolicatecrash中以使用uuid查找相对于崩溃文件的dsym 在您的情况下

    mdfind is used in symbolicatecrash to find dsym relative to the crash file with uuid in your case

    mdfind "com_apple_xcode_dsym_uuids == E30FC309-DF7B-3C9F-8AC5-7F0F6047D65F"

    您也可以运行

    mdfind "com_apple_xcode_dsym_uuids == *"

    列出mdfind知道的所有dsym位置.如果您的dsym是否在列表中,这将为您提供想法

    to list all the dsym locations mdfind knows. This will give you the idea if your dsym is in the list or not

    还要为您的dsym运行此命令,以获取您的应用程序的uuid

    Also run this for your dsym to get uuid of ur app

    dwarfdump --uuid xxx.app.dSYM/| tr '[:upper:]' '[:lower:]' | tr -d '-'

    更多推荐

    symbolicatecrash无法找到任何符号

    本文发布于:2023-11-11 23:40:15,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1579865.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:符号   symbolicatecrash

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!