xcode模拟器没有出现 - 重新安装可能吗? [英] xcode simulator not coming up - reinstall possible?

查看:107
本文介绍了xcode模拟器没有出现 - 重新安装可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的磁盘空间不足,不得不清理硬盘上的文件夹。清理之后,当我运行Xcode时,模拟器不会出现。在
Xcode上我无法选择要运行的模拟器。我很可能在我的清理中删除了模拟器所需的一些文件夹。 Xcode正确运行到设备上。有人遇到过这种情况吗?

I ran out of disk space and had to clean up the folders on my hard disk. After the cleanup, when I run Xcode, the simulator is not coming up. I am not able to select a simulator to run, on Xcode. Most likely I deleted some folder required by simulator, in my cleanup. Xcode runs onto the device correctly. Anybody came across such a situation?

我删除了我的Xcode并重新安装,但这并没有解决问题。我可以看到,Simulator是一个单独的应用程序(因为我们可以在不关闭Xcode的情况下关闭模拟器)。是否可以单独重新安装模拟器?或者任何其他解决方案来取回我的IOS模拟器?

I deleted my Xcode and re-installed, but that did not solve the issue. As I can see, Simulator is a separate application (since we can close simulator without closing the Xcode). Is it possible to re-install Simulator alone? Or any other solution to get back my IOS simulator?

我知道这不是一个编程问题,仍然希望可以在这里发布。在此先感谢。

I know this is not a programming question, still hope can be posted here. Thanks in advance.

推荐答案

我能够删除我的模拟器设备,并按照为用户编写的摘录重新安装它们缺少他们的模拟器:

I was able to delete my simulator devices and re-install them by following this excerpt written for a user that was missing their simulator:

打开Xcode>打开开发人员工具> iOS模拟器菜单(如果弹出错误,只需关闭它)。
进入模拟器后,转到硬件>设备>管理设备。
删除模拟器下列出的所有内容。
重新启动你的机器。
之后导航回模拟器中的Manage Devices并单击加号以添加模拟器。然后iOS 8模拟器将出现。希望这对你也有帮助。

Open the Xcode > Open Developer Tool > iOS Simulator menu (if you get a pop up error just dismiss it). Once in the Simulator go to Hardware > Device > Manage Devices. Delete everything listed under simulator. Reboot your machine. After that navigate back to Manage Devices in the simulator and click the plus to add back your simulators. Then the iOS 8 simulators will show up. Hope that also helps you.

以下是它的来源:
http://www.reddit.com/r/iOSProgramming/comments/2b9j2p/xcode_6_missing_ios_8_simulator/

这篇关于xcode模拟器没有出现 - 重新安装可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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