Вопрос

I am trying to use FMDB in my application. I am also using Mapbox framework for iOS. The problem I am having is that I get a linker error if I include the fmdb files separately. How can I access the FMDatabase.h from the Mapbox framework?

Это было полезно?

Решение

You might consider including the FMDB header (.h) files, but not the .m files. That will ensure that you won't have duplicative FMDB linker references, but by including the .h files, you'll be able to avail yourself of FMDB yourself. You might want to be careful that your header files correspond to the same version of FMDB as what Mapbox used.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top