Testing an iOS App using a M1 Mac

Rosetta

In order to run an iOS app built using the x86_64 architecture, you will need to install Rosetta. You can do this by running softwareupdate — install-rosetta.

x86_64 Arch Issues

Even with using Rosetta, I still ran into issues when running our XCUITests.

  • The worst issue by far is that Xcode frequently crashed or the simulators would crash. I posted about the issue here and it seemed to happen more often when running the tests with parallel mode enabled, but still happened frequently even with it disabled.
  • SwipeUp and Swipe Right does not work on the simulators for XCUITests.

Resources

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store