本帖最后由 纯文本_ 于 2021-7-19 17:13 编辑
项目时在官方demo(demo可以正常运行)上修改的,加了官方的db模块。
真机运行, 报错信息如下:[color=rgba(0, 0, 0, 0.85)]ld: warning: Could not find or use auto-linked framework 'UniformTypeIdentifiers' [color=rgba(0, 0, 0, 0.85)]ld: warning: Could not find or use auto-linked framework 'AVFAudio' [color=rgba(0, 0, 0, 0.85)]Undefined symbols for architecture armv7: [color=rgba(0, 0, 0, 0.85)] "vtable for std:ut_of_range", referenced from:[color=rgba(0, 0, 0, 0.85)] std:ut_of_range:ut_of_range(char const*) in libAPICloud.a(Yoga.o)[color=rgba(0, 0, 0, 0.85)] NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. [color=rgba(0, 0, 0, 0.85)] "std:ut_of_range::~out_of_range()", referenced from:[color=rgba(0, 0, 0, 0.85)] std::__1::__throw_out_of_range(car const*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] "std::length_error::~length_error()", referenced from: [color=rgba(0, 0, 0, 0.85)] std::__1::__throw_length_error(char const*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] std::__1::__throw_length_error(char const*) in libAPICloud.a(YGNode.o) [color=rgba(0, 0, 0, 0.85)] "___cxa_allocate_exception", referenced from: [color=rgba(0, 0, 0, 0.85)] std::__1::__throw_out_of_range(char const*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] std::__1::__throw_length_error(char const*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] std::__1::__throw_length_error(char const*) in libAPICloud.a(YGNode.o) [color=rgba(0, 0, 0, 0.85)] "typeinfo for std::length_error", referenced from: [color=rgba(0, 0, 0, 0.85)] std::__1::__throw_length_error(char const*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] std::__1::__throw_length_error(char const*) in libAPICloud.a(YGNode.o) [color=rgba(0, 0, 0, 0.85)] "___cxa_throw", referenced from: [color=rgba(0, 0, 0, 0.85)] std::__1::__throw_out_of_range(char const*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] std::__1::__throw_length_error(char const*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] std::__1::__throw_length_error(char const*) in libAPICloud.a(YGNode.o) [color=rgba(0, 0, 0, 0.85)] "___cxa_free_exception", referenced from: [color=rgba(0, 0, 0, 0.85)] std::__1::__throw_out_of_range(char const*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] std::__1::__throw_length_error(char const*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] std::__1::__throw_length_error(char const*) in libAPICloud.a(YGNode.o) [color=rgba(0, 0, 0, 0.85)] "std::__1::__vector_base_common<true>::__throw_length_error() const", referenced from: [color=rgba(0, 0, 0, 0.85)] YGNodelayoutImpl(YGNode*, float, float, YGDirection, YGMeasureMode, YGMeasureMode, float, float, bool, YGConfig*, YGMarkerLayoutData&, void*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] YGNodeDeepClone(YGNode*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] std::__1::vector<YGNode*, std::__1::allocator<YGNode*> >::__vallocate(unsigned long) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] std::__1::enable_if<(__is_cpp17_forward_iterator<YGNode**>::value) && (is_constructible<YGNode*, std::__1::iterator_traits<YGNode**>::reference>::value), void>::type std::__1::vector<YGNode*, std::__1::allocator<YGNode*> >::assign<YGNode**>(YGNode**, YGNode**) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] std::__1::vector<YGNode*, std::__1::allocator<YGNode*> >::insert(std::__1::__wrap_iter<YGNode* const*>, YGNode* const&) in libAPICloud.a(YGNode.o) [color=rgba(0, 0, 0, 0.85)] "std::logic_error::logic_error(char const*)", referenced from: [color=rgba(0, 0, 0, 0.85)] std:ut_of_range:ut_of_range(char const*) in libAPICloud.a(Yoga.o)[color=rgba(0, 0, 0, 0.85)] std::length_error::length_error(char const*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] std::length_error::length_error(char const*) in libAPICloud.a(YGNode.o) [color=rgba(0, 0, 0, 0.85)] "___cxa_begin_catch", referenced from: [color=rgba(0, 0, 0, 0.85)] ___clang_call_terminate in libAPICloud.a(ACTComponent.o) [color=rgba(0, 0, 0, 0.85)] std::__1::vector<YGNode*, std::__1::allocator<YGNode*> >::shrink_to_fit() in libAPICloud.a(YGNode.o) [color=rgba(0, 0, 0, 0.85)] "operator new(unsigned long)", referenced from: [color=rgba(0, 0, 0, 0.85)] _YGNodeNewWithConfig in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] _YGConfigNew in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] _YGNodeClone in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] YGNodelayoutImpl(YGNode*, float, float, YGDirection, YGMeasureMode, YGMeasureMode, float, float, bool, YGConfig*, YGMarkerLayoutData&, void*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] _YGNodeCalculateLayoutWithContext in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] YGNodeDeepClone(YGNode*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] std::__1::vector<YGNode*, std::__1::allocator<YGNode*> >::__vallocate(unsigned long) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] ... [color=rgba(0, 0, 0, 0.85)] "___cxa_end_catch", referenced from: [color=rgba(0, 0, 0, 0.85)] std::__1::vector<YGNode*, std::__1::allocator<YGNode*> >::shrink_to_fit() in libAPICloud.a(YGNode.o) [color=rgba(0, 0, 0, 0.85)] "___cxa_guard_release", referenced from: [color=rgba(0, 0, 0, 0.85)] _YGConfigGetDefault in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] "vtable for std::length_error", referenced from: [color=rgba(0, 0, 0, 0.85)] std::length_error::length_error(char const*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] std::length_error::length_error(char const*) in libAPICloud.a(YGNode.o) [color=rgba(0, 0, 0, 0.85)] NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. [color=rgba(0, 0, 0, 0.85)] "___cxa_guard_acquire", referenced from: [color=rgba(0, 0, 0, 0.85)] _YGConfigGetDefault in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] "operator delete(void*)", referenced from: [color=rgba(0, 0, 0, 0.85)] _YGNodeNewWithConfig in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] _YGConfigNew in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] _YGNodeClone in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] _YGNodeFree in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] YGNodelayoutImpl(YGNode*, float, float, YGDirection, YGMeasureMode, YGMeasureMode, float, float, bool, YGConfig*, YGMarkerLayoutData&, void*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] _YGNodeCalculateLayoutWithContext in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] YGNodeDeepClone(YGNode*) in libAPICloud.a(Yoga.o) [color=rgba(0, 0, 0, 0.85)] ...
配置项:
配置
配置
配置
编译后的SDK替换后:
编译的SDK替换后
自定义模块:
模块
编译报错:
编译报错
请帮忙看看什么原因。
|