1
iOS中的Google Analytics(分析)SDK 3.0 _sqlite3链接器错误
我正在将Google Analytics(分析)SDK 3.0集成到我的项目中。但是在尝试构建项目时出现链接器错误。 如文档中所述,我已经在项目中链接了以下库, libGoogleAnalyticsServices.a AdSupport.framework CoreData.framework SystemConfiguration.framework libz.dylib 即使那样,我在构建项目时也会遇到以下错误, 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) .... 是什么导致这些错误?我有什么想念的吗? 感谢您的帮助。 解: 我通过将我的项目与libsqlite3.0库链接解决了。Google Analytics(分析)文档漏掉了提及链接此库的内容。希望这可以帮助。