iOS Simulator scrolls too fast on Apple M1
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.
Jacobo Koenig
Updated on December 26, 2022Comments
-
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.
Any ideas?
-
Argel Bejarano over 3 yearsif 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 about 2 yearsOf course, it is a problem! It essentially makes the simulator useless for developing any app with a list.
-
-
Jacobo Koenig over 3 yearsThanks! 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 over 3 yearsThen the problem is not the emulator.
-
Fabian about 3 yearsThis did help with a similar issue, where the scrolling was "laggy"/"stuttering". Thank you very much!
-
ChrisH over 2 yearsFixed this very frustrating issue. Thanks, @valvoline!
-
Oliver Dixon over 2 yearsThis will make the simulator laggy on heavy apps though; performance won't be as good.
-
Vallette over 2 yearsI'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 over 2 yearsworks thanks! ..
-
jdixon04 over 2 yearsThis 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 over 2 yearsStill 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 over 2 yearsI 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 about 2 yearsCareful, setting timeDilation will affect the duration of every animation in the app. This variable is intended for testing purposes.
-
testerino almost 2 yearsI have this problem with an old project. Running simulator with Rosetta enabled fixed it!
-
MySilmaril almost 2 yearsThis 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.