xcode报错模块加载失败问题

XCode报错 "_BZ2_bzRead", referenced from 等

在工程target的Build Phases->Link Binary with Libraries中加入libz.tbd、libbz2.1.0.tbd


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)

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

3、选择Add Other...

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

选择 libsqlite3.dylib 进行添加

你可能感兴趣的:(xcode报错模块加载失败问题)