Xcode 4.3.3 iPhone 5.1模拟器挂频繁 [英] Xcode 4.3.3 IPhone 5.1 Simulator hanging every so often

查看:278
本文介绍了Xcode 4.3.3 iPhone 5.1模拟器挂频繁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在环顾四周,看看是否有人有类似的问题,但找不到很多信息。



大多数时间在模拟器中启动应用程序工作很好。但是一天一次或两次模拟器挂起,我不得不强制退出它。 XCode说在模拟器上运行xyz。当你尝试和'停止'在XCode没有任何反应。


$ b <$ p



$ b

当我直接在iPhone上运行应用程序时,不会发生这种情况。

解决方案

这让我感到沮丧的是 - 年 - 现在但是偶然发现了对我来说再次发生的事情:



隐藏模拟器(iOS模拟器 - >隐藏iOS模拟器)或Cmd-H,然后重新打开模拟器。



当我的旧2核MacBook上发生CPU密集型事件(如Time Machine备份)时,问题似乎会发生。


I've been looking around to see if anyone has similar issues recently but can't find much info.

Most of the time launching apps in simulator works fine. But once or twice a day the simulator hangs and I have to force quit it. XCode says 'Running xyz on simulator'. When you try and 'Stop' in XCode nothing happens. I then have to force quit XCode.

The annoying thing is the simulator wont work again unless I restart the machine!

This never happens when I run apps directly on iPhone. It has happened on several occasions for me both with sample apps and my own.

解决方案

This has frustrated me for -years- now but stumbled across what appears to get things going again for me:

Hide the simulator (iOS Simulator -> Hide iOS Simulator) or Cmd-H, then reopen the simulator.

The problem seems to happen when something CPU intensive is happening in the background (like a Time Machine backup) on my old 2 core MacBook.

这篇关于Xcode 4.3.3 iPhone 5.1模拟器挂频繁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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