在Xcode中处理符号文件

本文翻译自:Processing Symbol Files in Xcode

I was wondering if anyone could tell me what Xcode is actually doing when it says: "Processing Symbol Files" after plugging in your device? 我想知道是否有人可以告诉我Xcode在插入你的设备后说“处理符号文件”时实际上在做什么?

截图


#1楼

参考:https://stackoom.com/question/1ivDz/在Xcode中处理符号文件


#2楼

It compares crash logs retrieved from the device to archived (symbolized to be correct) version of your applications to try to retrieved where on your code the crash occurred. 它将从设备检索到的崩溃日志与应用程序的归档(符号化为正确)版本进行比较,以尝试检索代码中发生崩溃的位置。

Look at xcode symbol file location for details 查看xcode符号文件位置以获取详细信息


#3楼

It downloads the (debug) symbols from the device, so it becomes possible to debug on devices with that specific iOS version and also to symbolicate crash reports that happened on that iOS version. 它从设备下载(调试)符号,因此可以在具有该特定iOS版本的设备上进行调试,也可以表示在该iOS版本上发生的崩溃报告。

Since symbols are CPU specific, the above only works if you have imported the symbols not only for a specific iOS device but also for a specific CPU type. 由于符号是CPU特定的,因此上述仅适用于您不仅为特定iOS设备而且还为特定CPU类型导入符号的情况。 The currently CPU types needed are armv7 (eg iPhone 4, iPhone 4s), armv7s (eg iPhone 5) and arm64 (eg iPhone 5s). 目前所需的CPU类型是armv7(例如iPhone 4,iPhone 4s),armv7s(例如iPhone 5)和arm64(例如iPhone 5s)。

So if you want to symbolicate a crash report that happened on an iPhone 5 with armv7s and only have the symbols for armv7 for that specific iOS version, Xcode won't be able to (fully) symbolicate the crash report. 因此,如果您想要表示在带有armv7s的iPhone 5上发生的崩溃报告,并且只有特定iOS版本的armv7符号,Xcode将无法(完全)符号化崩溃报告。


#4楼

In Xcode Version 6.1.1 (6A2008a), after "Processing Symbol Files", a folder containing symbols associated with the device (including iOS version and CPU type) was created in ~/Library/Developer/Xcode/iOS DeviceSupport/ like this: 在Xcode Version 6.1.1(6A2008a)中,在“Processing Symbol Files”之后,在〜/ Library / Developer / Xcode / iOS DeviceSupport /中创建了一个包含与设备关联的符号的文件夹(包括iOS版本和CPU类型),如下所示:

在此输入图像描述


#5楼

Annoying error. 恼人的错误。 I solved it by plugging the cable directly into the iPad. 我通过将电缆直接插入iPad解决了这个问题。 For some reason the process would never finish if I had the iPad in Apple's pass-through stand. 出于某种原因,如果我在Apple的直通台上安装了iPad,那么这个过程永远不会完成。


#6楼

xCode just copy all crashes logs. xCode只复制所有崩溃日志。 If you want to speed-up: delete number of crash reports after you analyze it, directly in this window. 如果要加速:在分析之后删除崩溃报告的数量,直接在此窗口中。

Devices -> View Device Logs -> All Logs

截图

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值