If you are having trouble getting just the React Native tutorial to build on your M1 Mac, simply follow the following steps:
- Follow this guide https://reactnative.dev/docs/environment-setup, but use a Rosetta terminal for all of the steps. To create a Rosetta terminal I duplicated Terminal.app, renamed it to X86Term, and ticked 'Open in Rosetta' in the Get Info menu
- In the Get Info menu for XCode (right click, Get Info), set 'Open using Rosetta'
- Open Xcode, find the
.xcworkspacefile and open it
arm64to Excluded Architectures as shown below
That's it! you should be able to run everything as normal after that. Obviously its not ideal to run things under Rosetta, but I'm sure with time the underlying issues will be resolved.