在“〜/ Library / Developer / Xcode / iOS DeviceSupport”中缺少iOS符号 [英] Missing iOS symbols at “~/Library/Developer/Xcode/iOS DeviceSupport”

查看:447
本文介绍了在“〜/ Library / Developer / Xcode / iOS DeviceSupport”中缺少iOS符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Xcode 5上,我无法表示崩溃报告。当我们收到从未连接到我的开发Mac的设备组合(iPad型号+ iOS版本)上生成的崩溃报告时,我遇到了问题。
根本原因是我没有/ Library / Developer / Xcode / iOS DeviceSupport中所有iPad的所有iOS构建符号。

On Xcode 5 I am unable to symbolicate crash report. I am facing problem when we received a crash report generated on device combination (iPad model + iOS version) that never attached to my development Mac. Root cause is I don’t have all iOS build symbols for all iPads at "/Library/Developer/Xcode/iOS DeviceSupport".

应用程序是'在我的机器上构建,但我的Xcode中有 .xcarchive 。我可以看到与我的应用程序相关的崩溃地址的符号。不是苹果框架地址的其余部分。

App was’t build on my machine, but I have .xcarchive in my Xcode. I can see symbolication of crash address related to my app only. Not for rest of apple framework’s addresses.

如果你去Mac上的路径〜/ Library / Developer / Xcode / iOS DeviceSupport你可以看到名字像的文件夹7.0.2(11A501),7.0(11A4449d),6.1.3(10B329)......包含来自实际设备的二进制文件(为arm编译)。当我们将任何开发iOS设备连接到Mac时,Xcode会将这些符号从实际设备复制到Mac(仅限第一次,或者每当iOS版本在开发设备上更新时)。
除了我的应用程序地址之外,还需要符号表示崩溃符号。例如的CoreFoundation 0x2ff85c27 0x2ff7e000 + 31783 (崩溃日志不symbolicate系统库地址)

If you go to path "~/Library/Developer/Xcode/iOS DeviceSupport" on your Mac you can see folders with name like "7.0.2 (11A501)", "7.0 (11A4449d)", 6.1.3 (10B329)… which contains binaries from actual device (compiled for arm). When we connect any development iOS device to Mac, Xcode will copy those symbols from actual device to Mac (Only first time, or whenever iOS version get updated on development device). These are required to symbolicated crash symbols other than my app address. e.g. CoreFoundation 0x2ff85c27 0x2ff7e000 + 31783 (crash log does not symbolicate system libraries addresses)

在短如果在接收到的碰撞xyz iOS版本,该版本的设备构建目录应位于路径〜/ Library / Developer / Xcode / iOS DeviceSupport。或者您应该将该版本的iPad连接到Mac,以便Xcode可以从需要进行符号化的设备中收集所有数据。

In short if you received crash on xyz iOS version, that version's device's build directory should be at path "~/Library/Developer/Xcode/iOS DeviceSupport". Or you should connect that version's iPad to your Mac so that Xcode can collect all data from device that needed for symbolication.

假如你从运行6.0(10A403)iOS版本的设备收到崩溃,你应该有6.0(10A403)目录,其中包含〜/ Library /的所有数据Developer / Xcode / iOS DeviceSupport在Xcode中查看所有地址的完整符号。

Suppose if you received a crash from device running 6.0 (10A403) iOS build, you should have "6.0 (10A403)" directory containing all data at "~/Library/Developer/Xcode/iOS DeviceSupport" to see full symbolication in Xcode of all address.

从这里我可以得到这个符号,例如我想要iPhone OS 7.0的Xcode符号。 4 (11B554a),硬件型号:iPad3,1。或者我如何解决这个问题。

From where I can get this symbols e.g I want Xcode symbols for "iPhone OS 7.0.4 (11B554a), Hardware Model: iPad3,1". Or how I can solve this problem.

推荐答案

只有两种方法可以解决这个问题:

There are only two ways to solve this:


  1. 您需要一个运行相同iOS版本且具有与崩溃报告相同的CPU架构的CPU的设备,然后插入您的计算机以便Xcode可以导入符号

  2. 或者您需要从其他开发者处获取符号。

通常符号是最新的Xcode版本的一部分,但是当iOS版本仅包含错误修复但没有API更改时,Apple并不总是提供Xcode更新。

Usually the symbols are part of the latest Xcode release, but Apple doesn't always provide Xcode updates when an iOS version only contains bug-fixes but no API changes.

这篇关于在“〜/ Library / Developer / Xcode / iOS DeviceSupport”中缺少iOS符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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