Xcode 4 无法符号化崩溃日志 [英] Xcode 4 failure to symbolicate Crash Log

查看:28
本文介绍了Xcode 4 无法符号化崩溃日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将我的 Xcode 更新为 X.Y.Z.现在我对从我的测试人员甚至我的手机收到的崩溃日志的符号表示有问题.

I have just updated my Xcode to X.Y.Z. Now I have a problem with the symbolication of the crash logs received from my tester and even from my phone too.

当我构建 AdHoc 发行版时,我使用的是Arhive"方案,然后我使用我的开发人员凭据创建 *.ipa 文件.

When I build the AdHoc distribution I am using the "Arhive" scheme, then I create the *.ipa file singing it with my developer credentials.

是这个问题吗?而且我找不到这些 AdHoc 构建的 dSym 文件.

Is this the issue? And I can't find the dSym files for these AdHoc builds.

推荐答案

对于 coob 的回答,我发现将这些目录添加到 Spotlight 的忽略列表(系统偏好设置 → Spotlight → 隐私)有帮助:

Further to coob's answer, I find adding these directories to Spotlight's ignore list (System Preferences → Spotlight → Privacy) helps:

  • ~/Library/Developer/Xcode/DerivedData/(Xcode 4 构建工件)
  • ~/Library/Application Support/iPhone Simulator/(iPhone 模拟器的文件系统)
  • ~/Library/Developer/Xcode/DerivedData/ (Xcode 4 build artefacts)
  • ~/Library/Application Support/iPhone Simulator/ (file system for the iPhone Simulator)

像这样:

(参见这篇博文 了解更多详情.)

(See this blog post for additional detail.)

更新:来自 joerick 的评论:这行得通,但这也意味着Instruments.app 找不到调试符号,因此我不得不从隐私列表中删除 DerivedData 以进行一些分析."- 如果您使用 Instruments,请记住这一点.

Update: from a comment by joerick: "This works, but it also meant that Instruments.app couldn't find the debug symbols, so I had to remove DerivedData from the Privacy list to do some profiling." - bear this in mind if you use Instruments.

这篇关于Xcode 4 无法符号化崩溃日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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