For me this happened after switching the macbook from Intel to M4 (RN 0.72)
I had to enable Rosetta destination and run on a Rosetta iPhone to make the build work in Xcode:
enter image description here]1