Open zuopengyu2017 opened 5 years ago
通过react-native link集成到RN后,运行xcode报错 Undefined symbols for architecture arm64: "_OBJCCLASS$_CMMotionManager", referenced from: objc-class-ref in libRNPutiPay.a(AlipaySDK) "_sqlite3_bind_int64", referenced from: _27-[WXOMTAStore storeConfig:]_blockinvoke in libRNPutiPay.a(MTAStore.o) 40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRNPutiPay.a(MTAStore.o) "_sqlite3_bind_text", referenced from: _27-[WXOMTAStore storeConfig:]_blockinvoke in libRNPutiPay.a(MTAStore.o) 40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRNPutiPay.a(MTAStore.o) "_sqlite3_clear_bindings", referenced from: _27-[WXOMTAStore storeConfig:]_blockinvoke in libRNPutiPay.a(MTAStore.o) 40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRNPutiPay.a(MTAStore.o) "_sqlite3_close", referenced from: -[WXOMTAStore closeDB] in libRNPutiPay.a(MTAStore.o) "_sqlite3_exec", referenced from: -[WXOMTAStore updateDatabase:] in libRNPutiPay.a(MTAStore.o) _execute_query in libRNPutiPay.a(MTAStore.o) _execute_update in libRNPutiPay.a(MTAStore.o) "_sqlite3_finalize", referenced from: _27-[WXOMTAStore storeConfig:]_blockinvoke in libRNPutiPay.a(MTAStore.o) 40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRNPutiPay.a(MTAStore.o) "_sqlite3_free", referenced from: -[WXOMTAStore updateDatabase:] in libRNPutiPay.a(MTAStore.o) _execute_query in libRNPutiPay.a(MTAStore.o) _execute_update in libRNPutiPay.a(MTAStore.o) "_sqlite3_open", referenced from: -[WXOMTAStore getDB] in libRNPutiPay.a(MTAStore.o) "_sqlite3_prepare_v2", referenced from: _27-[WXOMTAStore storeConfig:]_blockinvoke in libRNPutiPay.a(MTAStore.o) 40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRNPutiPay.a(MTAStore.o) "_sqlite3_reset", referenced from: _27-[WXOMTAStore storeConfig:]_blockinvoke in libRNPutiPay.a(MTAStore.o) 40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRNPutiPay.a(MTAStore.o) "_sqlite3_step", referenced from: _27-[WXOMTAStore storeConfig:]_blockinvoke in libRNPutiPay.a(MTAStore.o) 40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRNPutiPay.a(MTAStore.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) 请问有遇到的吗
通过react-native link集成到RN后,运行xcode报错 Undefined symbols for architecture arm64: "_OBJCCLASS$_CMMotionManager", referenced from: objc-class-ref in libRNPutiPay.a(AlipaySDK) "_sqlite3_bind_int64", referenced from: _27-[WXOMTAStore storeConfig:]_blockinvoke in libRNPutiPay.a(MTAStore.o) 40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRNPutiPay.a(MTAStore.o) "_sqlite3_bind_text", referenced from: _27-[WXOMTAStore storeConfig:]_blockinvoke in libRNPutiPay.a(MTAStore.o) 40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRNPutiPay.a(MTAStore.o) "_sqlite3_clear_bindings", referenced from: _27-[WXOMTAStore storeConfig:]_blockinvoke in libRNPutiPay.a(MTAStore.o) 40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRNPutiPay.a(MTAStore.o) "_sqlite3_close", referenced from: -[WXOMTAStore closeDB] in libRNPutiPay.a(MTAStore.o) "_sqlite3_exec", referenced from: -[WXOMTAStore updateDatabase:] in libRNPutiPay.a(MTAStore.o) _execute_query in libRNPutiPay.a(MTAStore.o) _execute_update in libRNPutiPay.a(MTAStore.o) "_sqlite3_finalize", referenced from: _27-[WXOMTAStore storeConfig:]_blockinvoke in libRNPutiPay.a(MTAStore.o) 40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRNPutiPay.a(MTAStore.o) "_sqlite3_free", referenced from: -[WXOMTAStore updateDatabase:] in libRNPutiPay.a(MTAStore.o) _execute_query in libRNPutiPay.a(MTAStore.o) _execute_update in libRNPutiPay.a(MTAStore.o) "_sqlite3_open", referenced from: -[WXOMTAStore getDB] in libRNPutiPay.a(MTAStore.o) "_sqlite3_prepare_v2", referenced from: _27-[WXOMTAStore storeConfig:]_blockinvoke in libRNPutiPay.a(MTAStore.o) 40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRNPutiPay.a(MTAStore.o) "_sqlite3_reset", referenced from: _27-[WXOMTAStore storeConfig:]_blockinvoke in libRNPutiPay.a(MTAStore.o) 40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRNPutiPay.a(MTAStore.o) "_sqlite3_step", referenced from: _27-[WXOMTAStore storeConfig:]_blockinvoke in libRNPutiPay.a(MTAStore.o) 40-[WXOMTAStore storeEvent:hasTrySent:CB:]_block_invoke in libRNPutiPay.a(MTAStore.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) 请问有遇到的吗