Open Auto72 opened 7 months ago
Hi @Auto72, could you please add bblanchon.PDFium.macOS and bblanchon.PDFium.iOS to your MAUI project and tell me, if it works for macOS and iOS?
I don't have a Mac to test this myself.
(Also this is a duplicate of #42.)
I tried and it doesn't work.
I also tried to add the following NuGet packages to the PDFToImage project,
"bblanchon.PDFium.iOS" "SkiaSharp.NativeAssets.iOS"
Adding the Target frameworks:
"net7.0-ios", "net8.0-ios".
but still with no luck :-( When I run the MAUI App on iOS, I can see the .NET splash screen for few moments and then the App crashes.
Hi @Auto72, third party libraries (such as pdfium) must be repackaged and signed for iOS/Catalyst. See also What are Frameworks? or All dynamic libraries must be frameworks on iOS.
SkiaSharp does this already but bblanchon.PDFium provides dylibs only. If you are able to help, please head over to that repo.
Detailed feature request
I tried a MAUI project and it doesn't work on iOS and MacCatalyst , because the PDFium library is missing.
Here I found Pre-compiled binaries of PDFium:
https://github.com/bblanchon/pdfium-binaries
Can you include the iOS Pre-compiled binary in the PDFtoImage library, so that we can use it on iOS also?