I have the same problem where I received the error "No module found" when ran on simulator, but works fine on mobile device.
I solved by removing arm64e from Main Project Build Settings User-Defined VALID_ARCH, leaving only arm64.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: