iOS Simulator scrolls too fast on Apple M1

4,998

I experienced a similar issue but the problem, in my case, is not related to speed but something different.

Specifically, if you force your iOS Simulator to run under Rosetta you'll see that it works as expected. Not sure why, but this is what I'm experiencing. Always reproducible with 1.22.5 (stable).

To run in Rosetta, right click on Xcode and choose "Show Package Contents", from there you navigate to "Contents > Developer > Applications," There you'll find the Simulator app. If you right click on it and choose "Get Info", you'll find an option to run it using Rosetta.

Update 14/9/2021: Xcode 12.5.1 no longer needs the above workaround. Scrolling is working fine out-of-the-box.

Share:
4,998
Jacobo Koenig
Author by

Jacobo Koenig

Updated on December 26, 2022

Comments

  • Jacobo Koenig
    Jacobo Koenig over 1 year

    I'm running a flutter project and when dragging any list or scroll view on the simulator, it scrolls with way too much force rendering almost impossible to get to the row I need.

    This only happens in the simulator, and it seems to work fine on a real device. Also, this problem started when I had migrated to an Apple M1 MacBook Pro.

    Drag is minimal

    Any ideas?

    • Argel Bejarano
      Argel Bejarano over 3 years
      if your problem is not in a device or creating a jank in performance i can't see a problem here, probably you computer process way faster that an iPhone. just verify you performance is ok and that should be good enough.
    • Dan1ell
      Dan1ell about 2 years
      Of course, it is a problem! It essentially makes the simulator useless for developing any app with a list.
  • Jacobo Koenig
    Jacobo Koenig over 3 years
    Thanks! Good call, but indeed it's just the lists. Increasing the timeDilation still causes the list to overflow (albeit slowly) and the page transitions are uncomfortably slower.
  • Frank Moreno
    Frank Moreno over 3 years
    Then the problem is not the emulator.
  • Fabian
    Fabian about 3 years
    This did help with a similar issue, where the scrolling was "laggy"/"stuttering". Thank you very much!
  • ChrisH
    ChrisH over 2 years
    Fixed this very frustrating issue. Thanks, @valvoline!
  • Oliver Dixon
    Oliver Dixon over 2 years
    This will make the simulator laggy on heavy apps though; performance won't be as good.
  • Vallette
    Vallette over 2 years
    I'm using Xcode 13.1 on a M1 Pro and was still having this issue. Forcing the simulator to run under Rosetta fixed it. The M1 has been available for over a year, not sure why we're still dealing with these kind of bugs.
  • MJ Montes
    MJ Montes over 2 years
    works thanks! ..
  • jdixon04
    jdixon04 over 2 years
    This works! However, I would remove the update about it working with Xcode 12.5.1. I'm on 13.2 and it is still broken.
  • Karsten Silz
    Karsten Silz over 2 years
    Still seeing the same "super-fast scrolling" in the simulator: Flutter 2.8.1, MacBook Pro 16" with M1 Max, macOS Monterey 12.1, Xcode 13.2.1. Running the simulator with Rosetta fixed it.
  • Ravi Prakash
    Ravi Prakash over 2 years
    I am using Xcode 13.2.1 but it doesn't work out of the box. However the Rosetta fix works. Any idea why the issue is still there?
  • Lucas Aschenbach
    Lucas Aschenbach about 2 years
    Careful, setting timeDilation will affect the duration of every animation in the app. This variable is intended for testing purposes.
  • testerino
    testerino almost 2 years
    I have this problem with an old project. Running simulator with Rosetta enabled fixed it!
  • MySilmaril
    MySilmaril almost 2 years
    This didn't become a problem for me (on my new M1) until I added the "Google Maps API for iOS" to my app. Enabling Rosetta for the Simulator is a viable workaround but I'm still looking for a solution. Running Xcode 13.4.