如何强制重新安装iOS模拟器? [英] How to force reinstall iOS simulator?

查看:510
本文介绍了如何强制重新安装iOS模拟器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想下载模拟器组件(Xcode 6.2),但在进行中我的互联网连接丢失了。 Xcode仍然显示我已经安装了7.1模拟器。你知道如何强制重新安装iOS模拟器吗?我已完成以下步骤:

I wanted to download simulator components (Xcode 6.2), but during progress my internet connection was lost. Xcode still shows I've already have installed 7.1 simulator. Do you know how to force reinstall iOS simulator? I've done following steps:


  • 从〜/ Library / Caches / com.apple.dt.Xcode <删除'Downloads'目录/ li>
  • 从Window中移除所有7.1设备 - >设备

它不起作用..我很感激任何帮助!

It doesn't work... I would appreciate any help!

推荐答案

今天早上我遇到了同样的问题。为我解决的是在终端输入:

I experienced the same issue this morning. What solved it for me was entering this in terminal:

sudo rm -rf /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 7.1.simruntime

编辑:忘记 -r flag

Forgot -r flag

请务必在设备窗口中重新添加设备。

Be sure to add your devices back in the devices window.

这篇关于如何强制重新安装iOS模拟器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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