简体   繁体   English

Xcode无法构建Google Analytics(分析)SDK

[英]Xcode fails building Google Analytics SDK

I'm following the instructions in Google Analytics for iOS , and once I've set the SDK files and frameworks, I get these errors when I try to build the project: 我按照iOS的Google Analytics(分析)中的说明进行操作,并在设置SDK文件和框架后,在尝试构建项目时遇到以下错误:

Undefined symbols for architecture armv7:
"_sqlite3_column_double", referenced from:
  -[GAIAnalyticsPropertiesStore propertyRecordForTrackingId:] in libGoogleAnalyticsServices.a(GAIAnalyticsPropertiesStore.o)
"_sqlite3_bind_double", referenced from:
  -[GAIAnalyticsPropertiesStore bindRecord:toUpsertStatement:] in libGoogleAnalyticsServices.a(GAIAnalyticsPropertiesStore.o)

and a lot more like this, has somebody else experienced this? 还有很多其他的经历吗?

Thanks 谢谢

This tutorial seems to be out of date to me. 本教程对我来说似乎已经过时了。 Have you added all the libraries? 您是否已添加所有库?

CoreData.framework
SystemConfiguration.framework
libz.dylib
libsqlite3.dylib
libGoogleAnalyticsServices.a

I recommend to go to the official documentation. 我建议去官方文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM