I'm integrating Google Analytics SDK 3.0 in my project. But I am getting linker errors when try to build my project.
As mentioned in the documentation, I have linked following libraries in my project,
Even then, I get following errors on building the project,
d: warning: directory not found for option '-L"/Users/....NameProject/Libraries/Google Analytics"' "_sqlite3_bind_blob", referenced from: -[TAGDataLayerPersistentStoreImpl writeEntriesToDatabase:expireTime:] in libGoogleAnalyticsServices.a(TAGDataLayerPersistentStoreImpl.o) "_sqlite3_bind_int", referenced from: -[TAGDataLayerPersistentStoreImpl deleteEntries:] in libGoogleAnalyticsServices.a(TAGDataLayerPersistentStoreImpl.o) "_sqlite3_bind_int64", referenced from: -[TAGDataLayerPersistentStoreImpl writeEntriesToDatabase:expireTime:] in libGoogleAnalyticsServices.a(TAGDataLayerPersistentStoreImpl.o) -[TAGDataLayerPersistentStoreImpl peekEntryIds:] in libGoogleAnalyticsServices.a(TAGDataLayerPersistentStoreImpl.o) ....
What is causing these errors? Am I missing anything?
Appreciate your help.
SOLUTION:
I solved it by linking my project with libsqlite3.0
library. The Google analytics documentation missed out mentioning to link this library. Hope this helps.
You can solve this issue importing "libsqlite3.0"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With