Tor Øyvind
Tor Øyvind
This is how I use SaveAsCopy in my code: ``` public void SaveAsCopy(string filePath, SaveFlags flags = 0) { FileStream? fileStream = null; try { fileStream = File.Open(filePath, FileMode.Create); var...
The PDFium team say that they will not fix this at their side: > What you’re proposing is not generally appropriate. We’re not going to use -headerpad_max_install_names for our builds....
To release to the App Store I had to wrap the library as a Framework. 1. Create a folder called pdfium.framework 2. Copy the dylib into the folder and rename...
By manually adding the "maccatalyst" target in the libpdfium.dylib with vtool and then copying the libpdfium.dylib file into my .app package I'm able to use Pdfium in my MAUI application...
Hi @sungaila, I would be happy to contribute! I don't have much experience with build scrips and cross platform builds, but looking at the script files I think it would...
@bblanchon: What I did with vtool is more of a hack to see if it would run on Catalyst. It's recommended to rebuild the library instead of modifying the dylibs...
But is vtool available in your build environment? vtool ships as part of Xcode.
@bblanchon Only the vtool command is needed. If you run `vtool -show libpdfium.dylib` on the **Mac lib** you will get the following output: ``` libpdfium.dylib: Load command 9 cmd LC_BUILD_VERSION...
PDFiumV8 works great on my M1 MacBook Air, but using the other crashes my test app with the following error message: ``` dyld[57063]: Library not loaded: ./libpdfium.dylib Referenced from: /Users/tor/dev/MauiPdfiumTest/MauiPdfiumTest/bin/Debug/net8.0-maccatalyst/maccatalyst-arm64/MauiPdfiumTest.app/Contents/MacOS/MauiPdfiumTest...
I think there must be some difference in the Nuget package. Here is how I tested: 1. Copied the nuget packages to my local nuget repository directory 2. Added ""...