I'm tying to get Xcode in native mode to use the simulators in Rosetta mode, I found this site, which seems to be trying to work except the packages will not build x86 simulator binaries for the simulator, and so I get errors now saying "Could not find module 'xxx' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator...", it does work if you target a physical device.
We can't switch to m1 completely yet, because of a library built for us by a third party vendor doesn't include the binary for arm simulators, I don't know why it can't just use the normal arm binary.
We have problems with Xcode code in Rosetta mode as well as we have a few IBDesignable UIView subclasses, rosetta Xcode runs a seperate process to generate binaries for these elements to show their fields in Interface Builder, but this process is generating arm64 binaries, which Xcode in rosetta mode doesn't like and throws errors.
I have asked for the supplier of the framework to compile it to support m1 as they are giving us a new version soon, but its unlikely to happen.
In the mean time, I'm trying to find a way to tell Xcode to build the Packages for x86 simulator, the fields Architectures
, Exclude Architectures
and Build Active Architecture Only
don't seem to effect how the packages are built.