-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDFToImage doesn't work on a MAUI App that runs on iOS or MacCatalyst #52
Comments
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" Adding the Target frameworks: "net7.0-ios", "net8.0-ios". but still with no luck :-( |
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. |
I can try see if I can help, I have a Mac and iOS.. I also have someone that knows a little bit about skia :) |
@rmarinho Glad to hear that! We need someone that knows how to build Mac Catalyst binaries out of the pdfium code. If you would like to take up the challenge, please take a look at this issue: bblanchon/pdfium-binaries#168 |
Support for iOS (#98) has been added but Mac Catalyst is still missing. |
yeah sorry got a little stuck on getting this :/ |
I'll reopen this issue because iOS might be supported but Mac Catalyst is not so far. Unfortunately, nobody got the Mac Catalyst pdfium binaries working yet. |
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?
The text was updated successfully, but these errors were encountered: