菜单

402.com:添加微信SDK IOS启动报错

2019年5月5日 - 计算机教程

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-[402.com,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)

 

 

 

 

 

 

 

 

 

解决方式::

 

402.com 1

 

添加 libsqlite3.dylib

 

步骤:1、按照上图步骤找出当前页面

2、Link Binary With Libraries 下拉至最后,点击 +

3、选择Add Other…

4、CMD + SHIFT + G 然后输入 /user/lib 点击GO

402.com 2

 

5、选择 libsqlite3.dylib 进行添加

402.com 3

相关文章

发表评论

电子邮件地址不会被公开。 必填项已用*标注

网站地图xml地图