简体   繁体   English

Xcode 9 GM-iOS 11模拟器卡在苹果上

[英]Xcode 9 GM - Simulator for ios 11 stuck on apple

1,2,3 devices is iOS 11, 4 is iOS 8.4 I tried to restart or wait for 30 mins. 1,2,3设备是iOS 11,4是iOS 8.4我尝试重新启动或等待30分钟。 It looks like an apple with progress bar. 看起来像一个带有进度条的苹果。 Then progress bar completes and disappears and I see only apple forever. 然后进度条完成并消失,我永远只能看到苹果。

It never worked for me. 它从来没有为我工作。 I just downloaded Xcode 9 and can't run iOS 11 simulator. 我刚刚下载了Xcode 9,但无法运行iOS 11模拟器。

在此处输入图片说明

Any ideas how to fix it? 任何想法如何解决?

Xcode Version 9.0 (9A235) Xcode 9.0版(9A235)

If you tried booting all of them at the same time, it is quite possible that you are near the resource limit for your system, so processes are failing to fork/exec. 如果尝试同时引导所有它们,则很有可能您的系统已接近资源限制,因此进程将无法派生/执行。

If you boot successive devices after previous ones have finished booting, it is better behaved at detecting this scenario and will present you with an alert window that it won't attempt to boot the next device. 如果您在先前的设备完成引导之后引导连续的设备,则最好检测这种情况,并为您提供一个警告窗口,告知您它不会尝试引导下一个设备。 It also will point you to the Simulator Help documentation which contains information on increasing your system limits. 它还将使您指向Simulator帮助文档,其中包含有关增加系统限制的信息。

You should run one simulator wait for it to show device desktop then start up another device when desktop appears boot up another device and so on. 您应该运行一个模拟器,等待它显示设备桌面,然后在出现桌面时启动另一台设备,启动另一台设备,依此类推。 Hopefully it Could Help. 希望它能有所帮助。

Just updated macOS to High Sierra and Xcode to Release Version 9.0 (9A235) and issue was fixed. 刚刚将macOS更新为High Sierra,并将Xcode更新为版本9.0(9A235),此问题已修复。

(The issue was not about running multiple devices at once. Single emulator stuck too) (问题不在于同时运行多个设备。单个模拟器也卡住了)

Open Terminal and try this: 打开终端,然后尝试以下操作:

xcrun simctl erase all xcrun simctl全部清除

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM