it also looks like you are maybe using an m1 and trying to build for
simulator which means you are running into architeture issues. For a
quick workaround turn on rosetta for xcode and simulator so that it
doesn't try to build everything as arm64 architecture for the sim