How to force Unity to target x64 or ARM64 for macOS builds
EditorUserBuildSettings is the answer
Tags: unity3d, applesilicon, m1