This occurred for me using Xcode 12.5 on an M1 Mac mini.
The solution in my case was to ensure that Xcode was opened without using Rosetta.
To check for this, select Xcode in the Finder in your Applications folder, then press Command-I.
Under the General section of the Info dialog that appears, ensure there is no checkmark beside the "Open using Rosetta" option.
Then close and re-open Xcode, and try building your application and running within the Simulator again.
In my case, this resolved the appearance of the errors described by the original poster.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: