I have developed a swift dynamic framework (Cocoa touch framework)
Inside that framework i am using the GoogleMobileAds framework (admob ads)
Say this framework is called x.framework
Now, inside a project i want consumers to use this framework that is embed it inside their project.
The problem comes when the consumer project use the GoogleMobileAds in its own project (regardless of the framework)
I get an error of:
Class is implemented in both and . One of the two will be used. Which one is undefined.
How can i overcome this so even if the consumer project use the library it will embedding the framework will not cause errors?
I tried weak-linking the framework with no luck so far