尝试从应用程序 Xcode 下载容器时发生错误 [英] An error occured while attempting to download the container from application Xcode

查看:30
本文介绍了尝试从应用程序 Xcode 下载容器时发生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 iPhone 上运行我的应用程序时,我需要查看数据库内容.所以我在 Xcode 中选择了 Devices 并选择了我的设备.此后,我选择了我的应用程序并单击显示 3 个选项的设置按钮:显示容器、下载容器和删除容器.单击下载容器"选项时,系统询问我要将容器存储在哪里.选择位置后,我收到以下错误:尝试从应用程序MyApp"下载容器时发生错误.....

While running my app on iPhone, I needed to view the database contents. So I selected Devices in Xcode and chose my device. Thereafter, i selected my app and clicked on the Settings button which shows 3 options: Show container, Download container and Remove container. On clicking the Download container option, I was asked where I want to store the container. After selecting the location, I am getting the following error: An error occured while attempting to download the container from application "MyApp".....

选择显示容器"选项后,会打开一个列表,但其中没有文件.

On selecting Show container option, a list opens up but there is no file inside it.

我使用 Xcode 运行的其他应用程序也会出现同样的问题.

The same problem occurs with other apps too that I run using Xcode.

关于为什么会发生这种情况以及如何解决它的任何想法?

Any ideas as to why this happens and how to fix it?

推荐答案

我刚刚重新启动了我的 iPhone.这似乎解决了它!真的很奇怪,但有效.

I just rebooted my iPhone. That seems to fix it! Really weird, but works.

我时不时地遇到这个问题,尤其是在手机连接到 Mac 和 Xcode 大约一个小时之后.

I have been having the issue every now and then especially after the phone has been connected to Mac and Xcode for about an hour.

有时候,仅仅重启手机是不够的,你还必须退出Xcode,重启手机后重新开始!

Sometimes, just rebooting the phone isn't good enough, you'll also have to quit Xcode and start again after rebooting the phone!

这篇关于尝试从应用程序 Xcode 下载容器时发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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