Until all used SDKs are ready to launch on M1-based code engines, please use this easy approach using four steps:
- First, search the Xcode application in your Applications folder.
- Select the Xcode icon, and then press Command (CMD) + I (or right-click/use the File menu and select Get Info).
- In the newly opened window, check the “Open using Rosetta” checkbox and close the window.
- If you’re already running Xcode, completely quit it (Command/CMD + Q) and relaunch Xcode afterward.
That’s it! Happy deploying!