iOS模拟器未启动 [英] iOS simulator is not launching

查看:113
本文介绍了iOS模拟器未启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一次又一次面对这个问题.除了重新启动Mac外,任何人都可以提供此问题的解决方案吗?

I am face this problem again and again. Anybody can give the solution of this problem except reboot the Mac?

我已经尝试过这些技巧

  1. 模拟器->服务->重置内容和设置
    关闭xcode并重新打开
    xcode->开发人员也->模拟器->(打开模拟器)
    退出模拟器 活动监视器-> (模拟器已关闭,因此此处没有强制关闭的内容)

  1. simulator-->services-->a reset content and settings,
    closing xcode and re-opening
    xcode --> developer toos --> simulator -->(open the simulator),
    quit simulator Activity monitor -->(the simulator is closed so nothing here to force close)

首先退出模拟器.
然后退出并重新启动Xcode.
然后运行您的项目.

First of all quit your simulator.
And then quit and restart Xcode.
And then run your project.

重新启动xcode和模拟器

Restart xcode and the simulator

推荐答案

我也遇到了这个问题,并在Google上进行了搜索,将其重定向到此问题.我的是xcode10我的工作如下

I also have this issue and googled this, which redirect to this question. Mine was xcode10 What i have done is as follows

  1. 退出模拟器& Xcode.
  2. 打开Activity monitor,选择cpu选项并搜索sim,杀死显示为结果的所有过程.
  3. 然后启动终端并运行sudo xcrun simctl erase all.它将删除所有模拟器的所有内容.按内容显示,如果您登录的某个地方的密码将丢失,那么该模拟器中安装的所有开发人员应用程序都将消失.
  1. Quit the simulator & Xcode.
  2. Opened Activity monitor, selected cpu option and search for sim, killing all the process shown as result.
  3. Then fired up the terminal and run sudo xcrun simctl erase all. It will delete all content of all simulators. By content if you logged in somewhere password will be gone, all developer apps installed in that simulator will be gone.

做这些解决了我的问题.希望对您有所帮助.

Doing these resolved my issue. Hope it helps.

这篇关于iOS模拟器未启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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