I faced similar issue on M1 Mac where I was able to run project on real device but it was not working on simulator for certain libraries. Adding 'any iOS Simulator' as key and 'arm64' in target>BuildSettings>ExcludedArchitecture resolved the issue
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: