I got the same error too with these spec
Xcode 12.5 beta 3
Mac os 11.2.3
Xcode, Terminal, and Simulator using Rosetta (I have several libs that does not support arm64 simulator yet)
When building, running the apps in the simulator, it works fine, as it run the UI testing
Unfortunately, it shows the same error when running the Unit Test
Perhaps it is because of this
The system prevents you from mixing arm64 code and x86_64 code in the same process
Since when we open the Xcode, the arch type is Intel, but the CoreSimulatorService and testmanagerd is running using arch Apple
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: