我已尝试将this debenu library添加到纯本机iOS项目中,但它可以正常运行。
问题:
但是当我尝试将它添加到cardova xcode项目时,它会给我这些错误:
架构x86_64的未定义符号: “_CTFontCollectionCreateFromAvailableFonts”,引自: libDebenuPDFLibraryCPiOS1115.a中的ScreenFonts(int,int)(DebenuPDFLibraryFontConst.o) “_CTFontCollectionCreateMatchingFontDescriptors”,引自: libDebenuPDFLibraryCPiOS1115.a中的ScreenFonts(int,int)(DebenuPDFLibraryFontConst.o) “_CTFontDescriptorCopyAttribute”,引自: libDebenuPDFLibraryCPiOS1115.a中的ScreenFonts(int,int)(DebenuPDFLibraryFontConst.o) “std :: runtime_error :: what()const”,引自: libdebenuPDFLibraryCPiOS1115.a中的fmt :: FormatError的vtable(format.o) “std :: __ 1 :: basic_string,std :: __ 1 :: allocator> :: at(unsigned long)const”,引自: libDebenuPDFLibraryCPiOS1115.a中的TPDFIndObj :: IsStream(std :: __ 1 :: basic_string,std :: __ 1 :: allocator> const *,int&,int&)(DebenuPDFLibraryDocument.o) “std :: __ 1 :: basic_string,std :: __ 1 :: allocator> :: find(char,unsigned long)const”,引自:
这是我做的步骤: