简体   繁体   English

IOS模拟器慢慢与小牛队

[英]IOS simulator slow with Mavericks

I'm the only one to have a slow simulator since the last OSX update (Mavericks)? 自上次OSX更新(小牛队)以来,我是唯一一个拥有慢速模拟器的人?

  • I've tried to reset simulator 我试过重置模拟器
  • I've tried to switch on/off animation speed in Debug main bar 我试图在Debug主栏中打开/关闭动画速度
  • I've tried to draw my game with a simple moving quad 我试图用一个简单的移动四边形绘制我的游戏
  • I've tried to run my application on IOS7, IOS6 with Retina and without on the simulator 我试图在IOS7上运行我的应用程序,使用Retina运行IOS6,而不在模拟器上运行
  • My application isn't slow when I run it on an Android device 当我在Android设备上运行它时,我的应用程序并不慢

Simulator is always slow, on the previous OSX version I haven't got any problems :/ (My application is a game using OpenGL ES2) 模拟器总是很慢,在之前的OSX版本上我没有遇到任何问题:/(我的应用程序是使用OpenGL ES2的游戏)

Thanks! 谢谢!

I met the performance issue on simulator prior to iOS7. 我在iOS7之前遇到了模拟器上的性能问题。

Apple provides the solution in Xcode 5.1 Release Note (Page 4: iOS Simulator) Apple在Xcode 5.1发行说明 (第4页:iOS模拟器)中提供解决方案

sudo sysctl -w kern.timer.coalescing_enabled=0

Now the simulator flies! 现在模拟器飞了!

Well, the iOS 6.1 simulator seems slower in Mavericks. 好吧,iOS 6.1模拟器在Mavericks中显得比较慢 I am still using XCode 4.6.3 and iOS 6.1, but on Mavericks now. 我仍在使用XCode 4.6.3和iOS 6.1,但现在使用的是Mavericks。

I'm not ready to upgrade my app to using iOS 7 (I'm holding off until I have enough time to handle any issues that may pop up in the upgrade). 我还没有准备好将我的应用程序升级为使用iOS 7(我要等到我有足够的时间来处理升级中可能出现的任何问题)。

A reasonable answer seems to the deleted one, he said that if you do use Mavericks, make sure to use the iOS 7 simulator, as it doesn't seem to have the slowdown issue. 一个合理的答案似乎是被删除的一个,他说如果你确实使用了Mavericks,请确保使用iOS 7模拟器,因为它似乎没有减速问题。

在此输入图像描述

Edit: 编辑:

Having installed XCode 5, happily there were no problems in the upgrade with my project (I was afraid because of my experience with the Beta). 安装了XCode 5之后,很高兴我的项目升级没有问题(我很害怕,因为我有使用Beta的经验)。 The iOS 7 simulator on Mavericks runs at least as fast as the iOS 6.1 simulator on Lion. Mavericks上的iOS 7模拟器的运行速度至少与Lion上的iOS 6.1模拟器一样快。

When you're running in the simulator, make sure not to select Retina , because the retina emulator is many times slower than the non-retina emulator. 当您在模拟器中运行时,请确保不要选择Retina ,因为视网膜仿真器比非视网膜仿真器慢很多倍。 This is likely due to the fact that it has that many more pixels to fill, and the iOS simulators don't use hardware rendering. 这可能是因为它有更多的像素需要填充,iOS模拟器不使用硬件渲染。

Yeah , iOS simulator is very slow on both ios6 and ios7 . 是的,iOS模拟器在ios6和ios7上都非常慢。 there are issues in xcode5 . xcode5中存在问题。 I just upgrade by xcode to 5.0.2. 我只是通过xcode升级到5.0.2。 It is little bit fast than xcode 5 on simulator but still not up to mark. 它比模拟器上的xcode 5快一点,但仍然没有标记。

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

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