I have a third party framework with different versions for simulator and real device.
What I am doing: Right now I maintain two different targets for simulator and device respectively. I need to add the framework to the target as well as to the embedded binaries section. I also have to import the header in the bridging header section as these are objc frameworks ( I have added swift compiler flags for each targets and import the necessary headers in bridging header section). If I add both frameworks in same target, it will give duplicate symbols error.
NB: I Don't have the source code for these frameworks. So I cannot build a universal framework and use.
Question: How can I use these frameworks such that , without changing any code or settings, I should be able to run the code on simulator as well as on a real device?