iOS 9.3.1 Xcode 7.3“无法从此设备复制符号”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/37010354/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 08:47:25  来源:igfitidea点击:

iOS 9.3.1 Xcode 7.3 "Unable to copy symbols from this device"

iosxcode

提问by PsychicPuppy

I was using Xcode 7.2 but then I upgraded my iPhone to iOS 9.3.1 and got the message "Could not find Developer Disk Image". I've seen this many times in my life so I upgraded to Xcode 7.3. Now I get "Unable to copy symbols from this device" I tried the beta seed as well. Any ideas?

我使用的是 Xcode 7.2,但后来我将 iPhone 升级到 iOS 9.3.1 并收到消息“找不到开发者磁盘映像”。我在我的生活中见过很多次,所以我升级到 Xcode 7.3。现在我得到“无法从这个设备复制符号”我也尝试了 beta 种子。有任何想法吗?

回答by christian mini

Delete app from your device if is installed. Try to reconnect your device and wait for copying symbolic files symbol to complete the process, than clean your project, and relaunch Xcode.

如果已安装,请从您的设备中删除应用程序。尝试重新连接您的设备并等待复制符号文件符号以完成该过程,然后清理您的项目,然后重新启动 Xcode。

EditEnsure you have enough space on your mac

编辑确保您的 mac 上有足够的空间

回答by Anil Gupta

I was using the Xcode 9.1 beta and iOS 11.1, I got the error message from the Xcode while running the project.

我使用的是 Xcode 9.1 beta 和 iOS 11.1,我在运行项目时收到了来自 Xcode 的错误消息。

here's an error message: Unable to copy symbols from this device

这是一条错误消息: Unable to copy symbols from this device

I did following steps:

我做了以下步骤:

1. Quit the Xcode.
2. Delete the app from the device.
3. Delete "iOS DeviceSupport" the Symbols of iOS device from the following path: `~/Library/Developer` 
4. see the image.

enter image description here

在此处输入图片说明

5. Again, connect the device and it will copy all symbols again.

It will work.

它会起作用。

回答by alsotang

ios 12. xcode Version 10.0 (10A255)

ios 12. xcode 版本 10.0 (10A255)

I try to

我试着

  • restart xcode and
  • delete "iOS DeviceSupport".
  • delete app from my ios
  • 重新启动 xcode 和
  • 删除“iOS 设备支持”。
  • 从我的 ios 中删除应用程序

They all dont work.

他们都不起作用。

I just restart my iphone, and the error disappear.

我只是重新启动我的 iphone,错误就消失了。

回答by Madhu

OK, I have another data point. At least in my case, it was due to operator error. I can confirm that if you update the iOS version on the phone, you will likely get a message saying iPhone is busy: Preparing debugger support for iPhone. I was impatient and clicked "Cancel", which is absolutely the wrong thing to do! That might result in the error above (it did in my case).

好的,我有另一个数据点。至少在我的情况下,这是由于操作员错误造成的。我可以确认,如果您更新手机上的 iOS 版本,您可能会收到一条消息,指出iPhone 正忙:正在为 iPhone 准备调试器支持。我迫不及待地点击了“取消”,这绝对是错误的做法!这可能会导致上述错误(在我的情况下确实如此)。

XCode needs to download symbols and other support files in "iOS Device Support". For iOS 11.4, it's about 2GB, so it will take several minutes to download (your mileage may vary). Just be patient and it will eventually work as expected.

XCode 需要在“iOS 设备支持”中下载符号和其他支持文件。对于iOS 11.4,它大约为2GB,因此下载需要几分钟(您的里程可能会有所不同)。请耐心等待,它最终会按预期工作。