iOS模拟器未启动 [英] iOS simulator is not launching
问题描述
我一次又一次面对这个问题.除了重新启动Mac外,任何人都可以提供此问题的解决方案吗?
I am face this problem again and again. Anybody can give the solution of this problem except reboot the Mac?
我已经尝试过这些技巧
-
模拟器->服务->重置内容和设置,
关闭xcode并重新打开
xcode->开发人员也->模拟器->(打开模拟器),
退出模拟器 活动监视器-> (模拟器已关闭,因此此处没有强制关闭的内容)
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
- 退出模拟器& Xcode.
- 打开
Activity monitor
,选择cpu
选项并搜索sim
,杀死显示为结果的所有过程. - 然后启动终端并运行
sudo xcrun simctl erase all
.它将删除所有模拟器的所有内容.按内容显示,如果您登录的某个地方的密码将丢失,那么该模拟器中安装的所有开发人员应用程序都将消失.
- Quit the simulator & Xcode.
- Opened
Activity monitor
, selectedcpu
option and search forsim
, killing all the process shown as result. - 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屋!