Xcode 未能构建 Google Analytics SDK

Xcode fails building 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)

还有很多类似的事情,有其他人经历过吗?

谢谢

本教程对我来说似乎已经过时了。您是否添加了所有库?

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

建议去看官方文档