Im using MapBox for my Map SDK and Maply(WhirlyGlobeMaplyComponent) to display a globe on my app. Individually they work fine but they do not seem to work well together.
The problem is that underneath both these libraries use the same classes (not prefixed) and causes a linker problem indicating duplicate symbols in my app. A sample of the linker error is given below (i get multiple such errors)
duplicate symbol _pj_s_eqdc in:
/Users/SagarAdmin/Desktop/Motr-iOS/Motr/WhirlyGlobeMaplyComponent.framework/WhirlyGlobeMaplyComponent(PJ_eqdc.o)
/Users/SagarAdmin/Desktop/Motr-iOS/Motr/MapBox.framework/MapBox(PJ_eqdc.o)
While Maply gives me .a file for the library with Mapbox's iOS SDK does not have a .a file i can work with. I have tried extracting these and combining them into a single library as shown by How to handle duplicate symbol error from 3rd party libraries?
But im not sure if its the right solution for these two libraries.Any work arounds as to how i can use both these frameworks in my project successfully?