0

我按照Google Analytics for iOS中的说明进行操作,一旦设置了 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)

还有更多这样的情况,有其他人经历过吗?

谢谢

4

1 回答 1

2

这个教程对我来说似乎已经过时了。你添加了所有的库吗?

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

我建议去官方文档。

于 2015-06-30T14:21:07.107 回答