After migrating my framework to Xcode 10 beta (10L176w) I started to get warnings like:
Mapping architecture arm64 to x86_64. Ensure that this target\
I am also facing the same problem. For resolution, I have just changed the build system from Standard to Legacy and that resolved the issue.