本文介绍了Xcode卡在“处理符号文件”处。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在我的设备上运行我的应用时,Xcode会卡在处理符号文件上。

When I try to run my app on my device Xcode gets stuck on processing symbol files.

我重新启动了机器(我正在使用VirtualBox),尝试过不同的USB端口,重新启动主机,清理构建文件夹,尝试了不同的项目,更新Xcode到8.2,尝试使用Xcode 7.3但没有任何效果。我的设备确实在iTunes中显示。

I restarted the machine (I'm using VirtualBox), tried a different USB port, restarted the host computer, cleaned the build folder, tried a different project, updated Xcode to 8.2, tried to use Xcode 7.3 but nothing worked. My device does show in iTunes.

当我尝试在iPad上运行时,我打开了iTunes,然后它说无法复制符号文件 - 无法从设备读取所需数据

I left iTunes open when I tried to run it on my iPad and then it said "Unable to copy symbol files - unable to read required data from device"

Xcode 8.2(当前最新)和iOS 10.1

Xcode 8.2 (latest currently) and iOS 10.1

推荐答案

今天我解决了完全相同的问题。我认为主要问题在于VirtualBox USB控制器。转到虚拟机的设置,选择USB,默认情况下您将看到USB Controller 1.1(OHCI)。您必须选择USB控制器2.0(EHCI)。
我有:
- VirtualBox:5.1.12r112440(Qt5.6.2)
- macOS Sierra 10.12.2及最新更新。
- XCode 8.2
- iPhone 5,iOS 10.2

Today I have solved exactly the same problem. I think the main problem is in VirtualBox USB controller. Go to the settings of your virtual machine, select USB and you will see 'USB Controller 1.1 (OHCI)' by default. You have to select 'USB controller 2.0 (EHCI)'.I have:- VirtualBox: 5.1.12r112440 (Qt5.6.2)- macOS Sierra 10.12.2 with the latest updates.- XCode 8.2- iPhone 5, iOS 10.2

请确保:
- 您有原装闪电线
- 你可以在iTunes中看到你的iDevice
- 尝试重启你的MAC和iDevice

Be sure that:- You have original lightning cable- You can see your iDevice in iTunes- Try to restart your MAC and iDevice

这篇关于Xcode卡在“处理符号文件”处。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-18 20:29