Google Analytics SDK 3.0 _sqlite3 Linker Errors in iOS

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.

+81
ios objective-c sqlite3 google-analytics
Apr 3 '14 at 8:39
source share
1 answer

You can solve this problem by importing " libsqlite3.0 "

+107
Apr 20 '14 at 11:13
source share



All Articles