Xcode无法构建Google AnalyticsSDK

时间:2015-06-30 14:13:12

标签: ios xcode google-analytics google-analytics-sdk

我正在按照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)

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

由于

1 个答案:

答案 0 :(得分:2)

本教程似乎已经过时了。你添加了所有的库吗?

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

我建议去官方文档。