I faced this same issue in the following configuration
Xcode 13.1 + Monterey OS 12.0.1 + Intel chip
I had to go tot he Architectures section and replace $(ARCHS_STANDARD) by x86_64.
I hope this helps.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: