Some in our team work on M1 Macs, others on Intel, and most of our CI infrastructure is still Intel-based. Building for release seems to be no issue, but I would like to set up a single project setting that builds for both Intel-based and M1-based Simulator.
So far the only way to make it work is either to add Excluded Architectures (Any iOS Simulator) - arm64 is excluded on Intel, and x86_64 is excluded on M1.
I want avoid having two different targets just for this and switching these settings back and forth is also not an option.
Questions:
- Is there a better way to set this up so that both Intel and M1 sims build successfully?
- How come I need this exclude setting anyway, given that "Build Active Architecture Only" is set to Yes? (also tried with No btw as some suggested - didn't help)