简体   繁体   中英

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:

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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