I'm trying to use ForestDB in my iOS project, but got lots of linker errors
after adding `libCBLForestDBStorage.a`, i tried separate project and it
compiled well, but don't know what could be the reason of those errors
```
duplicate symbol _register_unicodesn_tokenizer in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(sqlite3_unicodesn_tokenizer.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(sqlite3_unicodesn_tokenizer.o)
duplicate symbol _sqlite3Fts3UnicodeSnTokenizer in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(fts3_unicodesn.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(fts3_unicodesn.o)
duplicate symbol _english_UTF_8_stem in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(stem_UTF_8_english.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(stem_UTF_8_english.o)
duplicate symbol _english_UTF_8_create_env in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(stem_UTF_8_english.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(stem_UTF_8_english.o)
duplicate symbol _english_UTF_8_close_env in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(stem_UTF_8_english.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(stem_UTF_8_english.o)
duplicate symbol _create_s in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(utilities_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(utilities_sq3.o)
duplicate symbol _lose_s in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(utilities_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(utilities_sq3.o)
duplicate symbol _skip_utf8 in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(utilities_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(utilities_sq3.o)
duplicate symbol _in_grouping_U in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(utilities_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(utilities_sq3.o)
duplicate symbol _in_grouping_b_U in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(utilities_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(utilities_sq3.o)
duplicate symbol _out_grouping_U in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(utilities_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(utilities_sq3.o)
duplicate symbol _out_grouping_b_U in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(utilities_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(utilities_sq3.o)
duplicate symbol _eq_s in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(utilities_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(utilities_sq3.o)
duplicate symbol _eq_s_b in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(utilities_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(utilities_sq3.o)
duplicate symbol _find_among in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(utilities_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(utilities_sq3.o)
duplicate symbol _find_among_b in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(utilities_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(utilities_sq3.o)
duplicate symbol _replace_s in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(utilities_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(utilities_sq3.o)
duplicate symbol _slice_from_s in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(utilities_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(utilities_sq3.o)
duplicate symbol _slice_del in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(utilities_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(utilities_sq3.o)
duplicate symbol _insert_s in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(utilities_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(utilities_sq3.o)
duplicate symbol _sqlite3FtsUnicodeIsalnum in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(fts3_unicode2.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(fts3_unicode2.o)
duplicate symbol _sqlite3FtsUnicodeIsdiacritic in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(fts3_unicode2.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(fts3_unicode2.o)
duplicate symbol _sqlite3FtsUnicodeFold in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(fts3_unicode2.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(fts3_unicode2.o)
duplicate symbol _SN_create_env in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(api_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(api_sq3.o)
duplicate symbol _SN_close_env in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(api_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(api_sq3.o)
duplicate symbol _SN_set_current in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(api_sq3.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(api_sq3.o)
duplicate symbol __ZN8forestdb10CollatablelsEP11objc_object in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(Collatable-7E85D3B7FDB87C65.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(Collatable.o)
duplicate symbol __ZN8forestdb16CollatableReader12readNSStringEv in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(Collatable-7E85D3B7FDB87C65.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(Collatable.o)
duplicate symbol __ZN8forestdb16CollatableReader12readNSObjectEv in:
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(Collatable-7E85D3B7FDB87C65.o)
/Users/ahmedibrahim/Documents/Phonidex/Phonidex/libCBLForestDBStorage.a(Collatable.o)
ld: 134 duplicate symbols for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
```
--
You received this message because you are subscribed to the Google Groups
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mobile-couchbase/d49c517f-5437-481a-baa8-d485cf9f1e5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.