We're observing a similar problem. After installing Xcode 14.3 on a machine, project compilation using Xcode 14.2 on the same machine no longer respects the "Open using Rosetta" checkbox. Uninstalling 14.3 and/or reinstalling 14.2 doesn't help; something shared in the underlying toolchain appears to have changed.
Previously when opening Xcode 14.2 using Rosetta, Swift packages in our project were correctly built for x86_64; they're now compiled for arm64. My best guess is that something has gone wonky in how arch-related parameters are passed to CompileSwift.