5

在 OSX Mountain Lion (10.8.2) 上运行 Xcode 4.5.2

我正在尝试符号化崩溃报告,但 symbolicatecrash 脚本总是失败。我实际上对应用程序符号并不感兴趣。我想要系统库符号,但它甚至找不到那些:

..fetching symbol file for UIKit--[undef] 
Searching []...-- NO MATCH
Searching in Spotlight for dsym with UUID of cd513a2f22f53d698c3e10f6fe48a63e
Running mdfind "com_apple_xcode_dsym_uuids == CD513A2F-22F5-3D69-8C3E-10F6FE48A63E"
@dsym_paths = (  )
@exec_names = (  )
Did not find executable for dsym
## Warning: Can't find any unstripped binary that matches version of /System/Library/Frameworks/UIKit.framework/UIKit 

具有该 UUID 的 UIKit.framework 确实存在:

$ pwd
/Users/karl/Library/Developer/Xcode/iOS DeviceSupport/5.1.1 (9B206)/Symbols/System/Library/Frameworks
$ dwarfdump --uuid UIKit.framework/UIKit 
UUID: CD513A2F-22F5-3D69-8C3E-10F6FE48A63E (armv7) UIKit.framework/UIKit

但是,mdfind 拒绝看到它:

$ mdfind "com_apple_xcode_dsym_uuids == CD513A2F-22F5-3D69-8C3E-10F6FE48A63E"
$ 

即使使用 mdfind "com_apple_xcode_dsym_uuids == *" 搜索也不会在库目录或任何系统库/框架内给出任何结果;仅列出了我编译的应用程序中的 dSYM 文件。

如何修复 mdfind 以便它在搜索中包含系统库?

4

0 回答 0