fsurczqtrxdfujfaheklacpbsecc/Build/Products/Debug-iphonesimulator/libRCTJCoreModule.a(RCTJCoreModule.o)) was built for newer iOS version (10.3) than being linked (8.0)
Undefined symbols for architecture x86_64:
"_sqlite3_bind_int64", referenced from:
___27-[WXOMTAStore storeConfig:]_block_invoke in libRCTWeChat.a(MTAStore.o)
___40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRCTWeChat.a(MTAStore.o)
"_sqlite3_bind_text", referenced from:
___27-[WXOMTAStore storeConfig:]_block_invoke in libRCTWeChat.a(MTAStore.o)
___40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRCTWeChat.a(MTAStore.o)
"_sqlite3_clear_bindings", referenced from:
___27-[WXOMTAStore storeConfig:]_block_invoke in libRCTWeChat.a(MTAStore.o)
___40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRCTWeChat.a(MTAStore.o)
"_sqlite3_close", referenced from:
-[WXOMTAStore closeDB] in libRCTWeChat.a(MTAStore.o)
-[WXOMTADataConfigHolder closeDB] in libRCTWeChat.a(MTADataConfigHolder.o)
"_sqlite3_exec", referenced from:
-[WXOMTAStore updateDatabase:] in libRCTWeChat.a(MTAStore.o)
_execute_query in libRCTWeChat.a(MTAStore.o)
_execute_update in libRCTWeChat.a(MTAStore.o)
"_sqlite3_finalize", referenced from:
___27-[WXOMTAStore storeConfig:]_block_invoke in libRCTWeChat.a(MTAStore.o)
___40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRCTWeChat.a(MTAStore.o)
"_sqlite3_free", referenced from:
-[WXOMTAStore updateDatabase:] in libRCTWeChat.a(MTAStore.o)
_execute_query in libRCTWeChat.a(MTAStore.o)
_execute_update in libRCTWeChat.a(MTAStore.o)
"_sqlite3_open", referenced from:
-[WXOMTAStore getDB] in libRCTWeChat.a(MTAStore.o)
-[WXOMTADataConfigHolder getDB] in libRCTWeChat.a(MTADataConfigHolder.o)
"_sqlite3_prepare_v2", referenced from:
___27-[WXOMTAStore storeConfig:]_block_invoke in libRCTWeChat.a(MTAStore.o)
___40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRCTWeChat.a(MTAStore.o)
"_sqlite3_reset", referenced from:
___27-[WXOMTAStore storeConfig:]_block_invoke in libRCTWeChat.a(MTAStore.o)
___40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRCTWeChat.a(MTAStore.o)
"_sqlite3_step", referenced from:
___27-[WXOMTAStore storeConfig:]_block_invoke in libRCTWeChat.a(MTAStore.o)
___40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRCTWeChat.a(MTAStore.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决方式::
添加 libsqlite3.dylib
步骤:1、按照上图步骤找出当前页面
2、Link Binary With Libraries 下拉至最后,点击 +
3、选择Add Other...
4、CMD + SHIFT + G 然后输入 /user/lib 点击GO
5、选择 libsqlite3.dylib 进行添加
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有