Xcode Simulator animations extremely slow when played in editor

48,589

Solution 1

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

Solution 2

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

+ T

Solution 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.

Solution 4

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).

enter image description here

After that you will choose iOS version for most devices:

enter image description here

Solution 5

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.

Share:
48,589

Related videos on Youtube

kjoelbro
Author by

kjoelbro

Java J2EE and Android Development are my strengths. But I also have lots of experience in DB tuning and admin related stuff.

Updated on January 07, 2020

Comments

  • kjoelbro
    kjoelbro over 4 years

    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.

    • User
      User almost 9 years
      Also noticing this. The first launch takes forever, then it will not start the app, have to run it again. After that it's quick. Still very annoying.
    • C.J.
      C.J. over 8 years
      As for me, the simulator is getting slower and slower. What garbage.
    • Mike Keskinov
      Mike Keskinov almost 7 years
      Xcode 9, FPS = 1 all the time. ???? Xcode 8 all works fine (FPS 30)
  • raykin
    raykin almost 9 years
    so how to fix it? select image is pretty slow
  • arcseldon
    arcseldon over 8 years
    Followed the link provided, but found no mention of El Capitan being a known issue. Please can you clarify which section you are referring to.
  • bruce1337
    bruce1337 over 8 years
    I read this answer and thought, "Hahaha, that's ridiculous! I don't even remember pressing Command-T to begin with lol" Then I pressed Command-T and everything went back to normal.
  • Hayi Nukman
    Hayi Nukman over 8 years
    lol,, that's ridiculous,,, I thought something is wrong with my apps... but after found this answer it's make me laugh....
  • user3204765
    user3204765 over 8 years
    Me too... I was suffering for a week before I read this Commant-T (slow animation) feature.
  • AJ.
    AJ. over 8 years
    Wow. I use Cmd+T in the browser to open a new tab. I guess I pressed it too soon before I switched from the sim to the app. Thank you so much for pointing this out. Doh!!!
  • Kumar Vivek
    Kumar Vivek almost 8 years
    I understand why this feature exists but there really should be some type of indicator that "slow mode" is enabled :)
  • WillKre
    WillKre over 7 years
    I wish I saw this answer before changing all my react native components thinking they were bugged! Time to git reset --hard that mofo, TY!
  • Tom
    Tom over 7 years
    Always assumed that the simulator was just super slow. Turns out I've had this mode on since I started using it!
  • paulo62
    paulo62 about 7 years
    If you select "Debug" in the Simulator menu, you will see the item "Slow Animations" which is ticked when selected
  • mr5
    mr5 over 6 years
    Might be you guys wanted to open new tab (CMD + TAB) in your browser but the current active window is set to iPhone Simulator
  • Michael
    Michael over 6 years
    Thanks, updated to XCode beta 9.2 and its much better now, react-native-maps work too :)
  • Jake T.
    Jake T. about 6 years
    Wow... I've been complaining for 6 months about the simulator being unusably slow, and found tons of stuff about it being slow due to bugs on Apple's end, and after all this time, it was because I tried to open a new tab while the simulator, rather than my browser, was the open window... So glad I decided to look into this and see if here's any news.
  • grantespo
    grantespo almost 6 years
    Why would Apple even have this 'enabled'?
  • yitwail
    yitwail over 5 years
    Just wish I'd googled this topic earlier. I just assumed my 2015 MBP wasn't up to the task.
  • Omar
    Omar almost 4 years
    this fixed the problem for me