2015-06-30 49 views
0

我按照Google Analytics for iOS的說明,一旦我設定的SDK文件和框架,我得到這些錯誤,當我嘗試生成項目:Xcode中失敗建設谷歌分析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) 

和更多的是這樣的,有人經歷過這個?

謝謝

+0

你鏈接您的項目與libsqlite3.dylib? – JAL

回答

2

本教程似乎已過時給我。你添加了所有的庫嗎?

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

我建議去官方文檔。

+0

謝謝,我缺少'libsqlite3.dylib' – AppsDev