Programing

iOS의 Google Analytics SDK 3.0 _sqlite3 링커 오류

lottogame 2020. 9. 25. 08:10
반응형

iOS의 Google Analytics SDK 3.0 _sqlite3 링커 오류


내 프로젝트에 Google Analytics SDK 3.0통합하고 있습니다 . 하지만 내 프로젝트를 빌드하려고 할 때 링커 오류가 발생합니다.

문서 에서 언급했듯이 프로젝트에서 다음 라이브러리를 연결했습니다.

  • libGoogleAnalyticsServices.a
  • AdSupport.framework
  • CoreData.framework
  • SystemConfiguration.framework
  • libz.dylib

그래도 프로젝트를 만들 때 다음과 같은 오류가 발생합니다.

d: warning: directory not found for option '-L"/Users/....NameProject/Libraries/Google Analytics"'
"_sqlite3_bind_blob", referenced from:
  -[TAGDataLayerPersistentStoreImpl writeEntriesToDatabase:expireTime:] in libGoogleAnalyticsServices.a(TAGDataLayerPersistentStoreImpl.o)
"_sqlite3_bind_int", referenced from:
  -[TAGDataLayerPersistentStoreImpl deleteEntries:] in libGoogleAnalyticsServices.a(TAGDataLayerPersistentStoreImpl.o)
"_sqlite3_bind_int64", referenced from:
  -[TAGDataLayerPersistentStoreImpl writeEntriesToDatabase:expireTime:] in libGoogleAnalyticsServices.a(TAGDataLayerPersistentStoreImpl.o)
  -[TAGDataLayerPersistentStoreImpl peekEntryIds:] in libGoogleAnalyticsServices.a(TAGDataLayerPersistentStoreImpl.o)

....

이러한 오류의 원인은 무엇입니까? 내가 놓친 것이 있습니까?

당신의 도움을 주셔서 감사합니다.


해결책:

내 프로젝트를 libsqlite3.0라이브러리 와 연결하여 해결했습니다 . Google 애널리틱스 문서에서이 라이브러리를 연결하는 언급이 누락되었습니다. 도움이 되었기를 바랍니다.


" libsqlite3.0 "을 가져 오면이 문제를 해결할 수 있습니다.

참고 URL : https://stackoverflow.com/questions/22832200/google-analytics-sdk-3-0-sqlite3-linker-errors-in-ios

반응형