How to force Xcode Server Bot to use Rosetta?

I just got a new MacMini M1 to replace an older one that was doing my automated builds for several projects. The bot works on the older MacMini, fails on the M1.

I go to the M1 and build directly in Xcode, and it fails with the same error. However, if I choose the 'Open using Rosetta' option in 'Get Info' for Xcode, it builds fine.

I realize what is happening is that likely there is a 3rd party dependency that hasn't updated to the correct architecture yet, and the CORRECT solution is to fix that. But I am not in control of that dependency so I am looking for a interim solution.

Is there anyway to do 'Open using Rosetta', but for an Xcode server bot?

Thanks in advance!

pj

bump!

How to force Xcode Server Bot to use Rosetta?
 
 
Q