반응형
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
반응형
'Programing' 카테고리의 다른 글
파일을 재귀 적으로 .gitignore하는 방법 (0) | 2020.09.25 |
---|---|
Sublime text 2에서 Sublime text3으로 마이그레이션 (0) | 2020.09.25 |
익명 함수를 사용하면 성능에 영향을 줍니까? (0) | 2020.09.25 |
한 레지스터에서 다른 레지스터로 복사 (0) | 2020.09.25 |
JQuery Ajax-Ajax 호출시 네트워크 연결 오류를 감지하는 방법 (0) | 2020.09.25 |