I'm trying to link my iOS app project to a static library I built, and I'm following the instructions in Using Static Libraries in iOS. This project already links Google Analytics
library, libGoogleAnalyticsServices.a
, which was working fine, but when I set the -ObjC
flag in the target's build settings for my static library, I'm not able to build it anymore. I get "Apple Mach-O Linker Errors" saying Undefined symbols for architecture armv7
in libGoogleAnalyticsServices.a
and which point to things such as "_sqlite3_column_bytes".
Has somebody experienced this? How could I solve it?
Thanks
Note: I'm using Xcode 6.0.1 and my deployment target is iOS 7.0
As said by @iOSWeblineindia, I solved this issue by adding libsqlite3.dylib
in Build Phases