适用于iOS的Google iOS DFP和Google Analytics不能协同工作

适用于iOS的Google iOS DFP和Google Analytics不能协同工作,第1张

概述我正在开发一个iOS应用程序,我的客户请求实施DFP和Google Analytics. 实施广告横幅非常简单,但当我添加Google Analytics需要的库时,xcode会显示28个错误. 当我删除-ObjC链接器标志时,错误消失了,但这样DPF实现将无法工作. 这是错误,任何想法? Undefined symbols for architecture x86_64: "_NSOverw 我正在开发一个iOS应用程序,我的客户请求实施DFP和Google Analytics.

实施广告横幅非常简单,但当我添加Google Analytics需要的库时,xcode会显示28个错误.

当我删除-ObjC链接器标志时,错误消失了,但这样DPF实现将无法工作.

这是错误,任何想法?

Undefined symbols for architecture x86_64:  "_NSOverwriteMergePolicy",referenced from:      +[TAGModel contextWithURL:] in libGoogleAnalytiCSServices.a(TAGModel.o)      -[GAIDataStore contextWithModel:URL:] in libGoogleAnalytiCSServices.a(GAIDataStore.o)  "_NSsqliteErrorDomain",referenced from:      -[GAIDataStore performBlockAnDWait:withError:] in libGoogleAnalytiCSServices.a(GAIDataStore.o)  "_NSsqliteStoreType",referenced from:      +[TAGModel coordinatorWithURL:] in libGoogleAnalytiCSServices.a(TAGModel.o)      -[GAIDataStore coordinatorWithModel:URL:] in libGoogleAnalytiCSServices.a(GAIDataStore.o)  "_OBJC_CLASS_$_NSAttributeDescription",referenced from:      objc-class-ref in libGoogleAnalytiCSServices.a(TAGModel.o)      objc-class-ref in libGoogleAnalytiCSServices.a(GAICoreDataUtil.o)  "_OBJC_CLASS_$_NSEntityDescription",referenced from:      objc-class-ref in libGoogleAnalytiCSServices.a(TAGDataProvIDer.o)      objc-class-ref in libGoogleAnalytiCSServices.a(TAGModel.o)      objc-class-ref in libGoogleAnalytiCSServices.a(GAIDataStore.o)      objc-class-ref in libGoogleAnalytiCSServices.a(GAICoreDataUtil.o)  "_OBJC_CLASS_$_NSFetchRequest",referenced from:      objc-class-ref in libGoogleAnalytiCSServices.a(TAGModel.o)      objc-class-ref in libGoogleAnalytiCSServices.a(GAIDataStore.o)  "_OBJC_CLASS_$_NSManagedobject",referenced from:      _OBJC_CLASS_$_TAGHit in libGoogleAnalytiCSServices.a(TAGHit.o)      _OBJC_CLASS_$_GAIHit in libGoogleAnalytiCSServices.a(GAIHit.o)      _OBJC_CLASS_$_GAIProperty in libGoogleAnalytiCSServices.a(GAIProperty.o)  "_OBJC_CLASS_$_NSManagedobjectContext",referenced from:      objc-class-ref in libGoogleAnalytiCSServices.a(TAGModel.o)      objc-class-ref in libGoogleAnalytiCSServices.a(GAIDataStore.o)  "_OBJC_CLASS_$_NSManagedobjectModel",referenced from:      objc-class-ref in libGoogleAnalytiCSServices.a(TAGModel.o)      objc-class-ref in libGoogleAnalytiCSServices.a(GAICoreDataUtil.o)  "_OBJC_CLASS_$_NSPersistentStoreCoordinator",referenced from:      objc-class-ref in libGoogleAnalytiCSServices.a(TAGModel.o)      objc-class-ref in libGoogleAnalytiCSServices.a(GAIDataStore.o)  "_OBJC_MetaCLASS_$_NSManagedobject",referenced from:      _OBJC_MetaCLASS_$_TAGHit in libGoogleAnalytiCSServices.a(TAGHit.o)      _OBJC_MetaCLASS_$_GAIHit in libGoogleAnalytiCSServices.a(GAIHit.o)      _OBJC_MetaCLASS_$_GAIProperty in libGoogleAnalytiCSServices.a(GAIProperty.o)  "_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)      -[TAGDataLayerPersistentStoreImpl deleteEntrIEsolderThan:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)  "_sqlite3_bind_text",referenced from:      -[TAGDataLayerPersistentStoreImpl clearKeysWithPrefixSingleThreaded:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl writeEntrIEsToDatabase:expireTime:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)  "_sqlite3_close",referenced from:      -[TAGDataLayerPersistentStoreImpl closeDatabase] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)  "_sqlite3_column_blob",referenced from:      -[TAGDataLayerPersistentStoreImpl loadSerialized] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)  "_sqlite3_column_bytes",referenced from:      -[TAGDataLayerPersistentStoreImpl loadSerialized] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)  "_sqlite3_column_int64",referenced from:      -[TAGDataLayerPersistentStoreImpl peekEntryIDs:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl numStoredEntrIEs] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)  "_sqlite3_column_text",referenced from:      -[TAGDataLayerPersistentStoreImpl loadSerialized] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)  "_sqlite3_errcode",referenced from:      -[TAGDataLayerPersistentStoreImpl preparesql:description:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)  "_sqlite3_errmsg",referenced from:      -[TAGDataLayerPersistentStoreImpl clearKeysWithPrefixSingleThreaded:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl writeEntrIEsToDatabase:expireTime:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl deleteEntrIEs:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl numStoredEntrIEs] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl deleteEntrIEsolderThan:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl tablePresent:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl openDatabaseAndInitStatements] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      ...  "_sqlite3_finalize",referenced from:      -[TAGDataLayerPersistentStoreImpl clearKeysWithPrefixSingleThreaded:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl deleteEntrIEs:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl tablePresent:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl openDatabaseAndInitStatements] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl closeDatabase] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)  "_sqlite3_open",referenced from:      -[TAGDataLayerPersistentStoreImpl openDatabaseAndInitStatements] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)  "_sqlite3_prepare_v2",referenced from:      -[TAGDataLayerPersistentStoreImpl preparesql:description:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)  "_sqlite3_reset",referenced from:      -[TAGDataLayerPersistentStoreImpl loadSerialized] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl writeEntrIEsToDatabase:expireTime:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl peekEntryIDs:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl numStoredEntrIEs] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl deleteEntrIEsolderThan:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)  "_sqlite3_step",referenced from:      -[TAGDataLayerPersistentStoreImpl clearKeysWithPrefixSingleThreaded:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl loadSerialized] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl writeEntrIEsToDatabase:expireTime:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl deleteEntrIEs:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl peekEntryIDs:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl numStoredEntrIEs] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      -[TAGDataLayerPersistentStoreImpl deleteEntrIEsolderThan:] in libGoogleAnalytiCSServices.a(TAGDataLayerPersistentStoreImpl.o)      ...ld: symbol(s) not found for architecture x86_64clang: error: linker command Failed with exit code 1 (use -v to see invocation)
解决方法 尝试在项目中包含“libsqlite3.0dylib”,如建议的那样 here.查看是否遗漏了任何其他库或框架. 总结

以上是内存溢出为你收集整理的适用于iOS的Google iOS DFP和Google Analytics不能协同工作全部内容,希望文章能够帮你解决适用于iOS的Google iOS DFP和Google Analytics不能协同工作所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1101429.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-28
下一篇 2022-05-28

发表评论

登录后才能评论

评论列表(0条)

保存