I am integrating the Google Analytics SDK 3.0 into my project. But when I try to create my project, I get linker errors .
As mentioned in the documentation , I linked the following libraries in my project,
- libGoogleAnalyticsServices.a
- AdSupport.framework
- Coredata.framework
- SystemConfiguration.framework
- libz.dylib
Even then, I get the following errors when building a 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 causes these errors? Did I miss something?
Appreciate your help.
DECISION:
I solved this by linking my project with the libsqlite3.0 library. The Google Analytics documentation was not mentioned to link this library. Hope this helps.
ios objective-c sqlite3 google-analytics
jlmg5564 Apr 3 '14 at 8:39 2014-04-03 08:39
source share