象征性的XCode4崩溃报告 [英] Symbolicate XCode4 crash reports

查看:87
本文介绍了象征性的XCode4崩溃报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试获取XCode 4来表示崩溃报告.我已经在Google上搜索并跟踪了此链接(https://github.com/chrispix/symbolicatecrash-fix),但已停止.说明说:要修复iOS崩溃报告的符号,请将/usr/local/bin/symbolicatecrash移到一边,然后在此存储库中的版本中进行复制."好吧,我在Mac上找不到"/usr/local/bin/".我是Mac世界的新手,所以我确定有些事情我不了解.如果"/usr/local/bin/"不存在,那么XCode 4在哪里找到symbolicatecrash?由于我有很多要修复的错误,请向新手指明正确的方向.

I'm trying to get XCode 4 to symbolicate a crash report. I've googled and followed this link (https://github.com/chrispix/symbolicatecrash-fix) but get stopped. The instructions say "To fix your iOS crash report symbolication, move /usr/local/bin/symbolicatecrash aside and copy in the version in this repo." Well, I cannot find "/usr/local/bin/" on my Mac. I'm new to the Mac world, so I'm sure there's something I'm not understanding. If "/usr/local/bin/" doesn't exist, then where is XCode 4 finding symbolicatecrash? Please point a newbie in the right direction as I have a lot of bugs to be fixing.

谢谢 汤姆

推荐答案

该工具已重定位到/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash中较新版本的SDK

that tool has been relocated to /Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash in newer version of the SDK

您将以以下方式运行它:

you would run it as:

./symbolicatecrash -A -v [crashlog-filename] MyApp.dSYM

./symbolicatecrash -A -v [crashlog-filename] MyApp.dSYM

请记住,这仅适用于iOS,对于OSX,请参见 http://developer .apple.com/tools/xcode/symbolizingcrashdumps.html (要在应用程序的构建设置中启用包含符号"DWARF with dSYM"的应用程序)

keep in mind this is for iOS only, for OSX see http://developer.apple.com/tools/xcode/symbolizingcrashdumps.html (for the app to contain the symbols "DWARF with dSYM" must be enabled in it's build settings)

您将以以下方式运行它:

you would run it as:

./symbolizecrashlog [应用程序名称] [crashlog文件名]> symbolized.crash

./symbolizecrashlog [application-name] [crashlog-filename] > symbolized.crash

我想补充一点,这通常是自动完成的,这些手动方法适用于

I would like to add that all this usually is done automatically, these manual approaches are for cases when there are issues with the system symbols database as discussed in Xcode 4 failure to symbolicate Crash Log

这篇关于象征性的XCode4崩溃报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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