pdfium-lib
pdfium-lib copied to clipboard
the iOS project can not run
Describe the bug Hello developer, when I added Pdfium.framework to sample-apple/Sample/Vendor, I tried to build the project, and 'fpdf_doc.h' file was reported not found in the PDFiumDocument.h file. Then I changed #import "fpdf_doc.h" to #import <Pdfium/fpdfview.h>, 'fpdf_text.h' file not found and 'fpdf_transformpage.h' file not found are displayed in the PDFiumPage.m file. How can I solve this problem.
System (please complete the following information):
- OS: iOS simulator 16.0
- xCode:14.1
- I'm from https://github.com/TechTeamer/ios-xc-pdfium for the framework, this framework is only fpdfview header files, but exactly what I need, I commented out the code related to fpdf_text.h and fpdf_transformpage.h in the demo, and the demo was ready to run
- I also tried to compile a new framework using python, and the execution of "python3 make.py build-pdfium-ios" and "python3 make.py patch-ios" was successful. But when executing "python3 make.py build-ios", "ERROR at //skia/BUILD.gn:174:14: Undefined identifier ", I can not solve this problem, but in the locally generated build->ios->pdfium->public there are fpdf_text.h and fpdf_transformpage.h these two header files, drag these two header files into the project, The original project is now operational
I want to compile a framework myself, may I ask how to solve this problem?
Hi,
I need update to latest stable branch, maybe some changes was made in the reference file you show.
Hi,
I have updated to latest version.
Can you test now?
I'm executing Build for iOS Step four Compile: python3 make.py build-ios Report an error
ERROR Unresolved dependencies. //third_party/nasm:nasm(//build/toolchain/mac:clang_x64) needs //build/config/mac:strip_all(//build/toolchain/mac:clang_x64)
What's the question, thank you very much
Hi,
I have updated everything.
You can now use the latest version.
Thanks.