PDFiumCore icon indicating copy to clipboard operation
PDFiumCore copied to clipboard

iOS Support

Open Auto72 opened this issue 1 year ago • 2 comments

Is It possible to include the iOS support?

https://www.nuget.org/packages/bblanchon.PDFium.iOS/

Auto72 avatar Nov 30 '23 14:11 Auto72

I have not done any iOS development before. I know that .NET can run on it, I just don't have experience in the area. I'll look into this, but it is a low priority right now unless you can help with a PR.

DJGosnell avatar Nov 30 '23 19:11 DJGosnell

Actually, I tried to add the following Nuget packages to the PDFiumCore project:

"bblanchon.PDFium.Android" "bblanchon.PDFium.iOS"

and run in sequence:

  1. download_package.sh
  2. CreateBindingsPackage.bat
  3. build_test_publish.ps1

I've got the generated PDFiumCore.121.0.6164.nupkg file from the "artifacts" folder and used in my .NET MAUI test project as OFF Line package. On Android it works, but on iOS it doesn't work.

On iOS I see the .NET splash screen for few moments and then the App crashes :-( The iOS Program.Main() is not event reached.

1

Auto72 avatar Dec 05 '23 09:12 Auto72