I am using conda a lot and for some packages and environments I need x86_64 architecture. I did this by duplicating my Terminal.app and starting one duplicate with Rosetta (as described here: https://towardsdatascience.com/how-to-install-miniconda-x86-64-apple-m1-side-by-side-on-mac-book-m1-a476936bfaf0). Unfortunately, I can't duplicate my Terminal.app anymore since macOS 13. Does anyone already have a solution for this?
I found the answer on the Apple Developer Forum:
% env /usr/bin/arch -arm64 /bin/zsh --login % arch arm64 % env /usr/bin/arch -x86_64 /bin/zsh --login % arch x86_64
I tried this and it’s working as expected.