Xcode Simulator animations extremely slow when played in editor

邮差的信 提交于 2019-12-18 10:00:55

问题


Recently I have experienced, that Xcode's simulator has become extremely slow. Also if I create a new app and run it i, the transition between the launch screen and the first view controller takes about 3 seconds. Luckily it is only the iOS 9 simulator and not iOS 8 or lower. I have upgraded to Xcode 6.4 and I also have Xcode 7.0 beta 3 installed. Has anyone experienced the same? I have tried to uninstall both Xcode versions, but it didn't help.


回答1:


If you press command+T it triggers the 'Slow animations' feature. I didn't noticed this setting until now. Doh!




回答2:


In Simulator menu, go to Debug > Slow Animations , and uncheck this option or simply do:

+ T




回答3:


XCODE 9 BUG. This is officially confirmed to be an issue with Xcode 9.0 and its iOS 11 simulator — it affects any OpenGL-using application.

See: https://github.com/mapbox/mapbox-gl-native/issues/9959

Also: https://twitter.com/xenadu02/status/911463433521860609

:( Hope this helps.




回答4:


This has been fixed in Xcode 9.1 beta 2

Fixed an issue in Simulator’s OpenGL that could cause SceneKit apps to run slowly and the CPU to hit 100% when attempting to pan in an MKMapView.




回答5:


It's known bug by apple developer see below link https://forums.developer.apple.com/thread/83570




回答6:


Currently only iOS11 simulator is slow.

You can download additional iOS10 simulator which works perfectly.

Choose Xcode -> Product -> Destination -> Download simulators... Then select any iOS10 simulator from the list (e.g. 10.3.1).

After that you will choose iOS version for most devices:




回答7:


I had this same problem, and after scratching my head for a while, I realized that having the Xcode "Organizer" window open while running the Simulator causes it to behave very slowly. So for anyone who doesn't have the "slow animations" option ticked, check that the Organizer window isn't open.




回答8:


I believe this is an issue with El Capitan, not necessarily Xcode 7 or iOS 9. https://developer.apple.com/library/prerelease/ios/releasenotes/General/RN-iOSSDK-9.0/index.html



来源:https://stackoverflow.com/questions/31378232/xcode-simulator-animations-extremely-slow-when-played-in-editor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!