在XCode Profiler中注册应用以进行符号化 [英] Register App for Symbolication in XCode Profiler

查看:134
本文介绍了在XCode Profiler中注册应用以进行符号化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在设备上运行的应用程序上运行XCode的时间分析器,但是符号名称显示为0x2fe26643而不是[MyClass myMethod].我意识到我需要重新符号化该应用程序,但是我不知道该怎么做.

I'm trying to run XCode's time profiler on my app that is running on my device, but the symbol names show up like 0x2fe26643 instead of [MyClass myMethod]. I realize I need to re-symbolicate the app, but I don't know how.

这样的一些答案dSYM Locations:

A few answers like this and this say to press "Re-Symbolicate", find your binary in the list, then press "Locate" to find the dSYM manually. My app is not in the list called dSYM Locations:

如何使结果符号化?

更新:我发布了一个YouTube剪辑,内容是当我尝试重新符号化时的外观:

UPDATE: I posted a YouTube clip of what it looks like when I try to re-symbolicate: http://www.youtube.com/watch?v=CcLGRNkmako

推荐答案

尝试在设备上配置我的应用程序时遇到了同样的问题(在模拟器中工作正常).尝试重新符号化时,我的应用程序二进制文件完全没有显示在"dSYM位置"对话框列表下,因此我无法选择它,然后使用定位"按钮将相应的dSYM关联起来,如其他答案所建议的那样

I was having this same problem when trying to profile my app on device (worked fine in simulator). When trying to re-symbolicate, my app binary was not showing up at all under the "dSYM Locations" dialog list, so I wasn't able to select it and then use the Locate button to associate the appropriate dSYM as other answers have suggested.

通过在Xcode中转到Edit Scheme并将Profile build更改为Debug而不是Release,我能够在设备配置文件中重新获得符号.

I was able to get symbolication back in the device profiling by going to Edit Scheme in Xcode and changing the Profile build to Debug instead of Release.

这篇关于在XCode Profiler中注册应用以进行符号化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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