Search code examples
iosios7.1fmdb

How do I get FMDB on project target iOS 7.1 (below 8)?


I installed FMDB using pods because I need to access a local sqlite database. I liked the library, but unfortunately, if I put a deployment target under iOS 8, I get this error at build

ld: embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/FMDB.framework/FMDB) for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

There is a way to resolve this?


Solution

  • Carthage support for frameworks was added in 2.6. For now, you should be able to specify 2.5.2 2.5 in the Podfile and you should be able to Support iOS 7. I've posted an issue on github on this and we'll see if the Cocoapods configuration can be fixed.