For me, the following solved the problem:
From the target build Setting
setting Architectures to $(NATIVE_ARCH) and add $(ARCHS_STANDARD) to Valid Architectures.
This might help What's the difference between "Architectures" and "Valid Architectures" in Xcode Build Settings?