bblanchon / pdfium-binaries

📰 Binary distribution of PDFium
789 stars 166 forks source link

Support for iOS and Mac Catalyst #127

Closed sungaila closed 7 months ago

sungaila commented 7 months ago

Apps developed for iOS and Mac Catalyst are not allowed to load third-party dynamic libraries directly, they have to be embedded in a framework package first. While it is possible to extract the libpdfium.dylib from the archives and wrap them with your own framework project, it would be way more convenient, if this project would publish frameworks out-of-the-box. Especially when published via NuGet packages.

However, I am not familiar with this topic and some feedback from iOS/Catalyst app developers would be great. As far as I know these framework files must be code signed so it might not be feasible for an OSS project? No idea.

sungaila commented 7 months ago

I asked how SkiaSharp creates their iOS and Mac Catalyst builds. Turns out you must use Xcode and it cannot installed/run on the GitHub Darwin runners.

So unless someone is willing to rent or buy a Mac for a self-hosted runner, this cannot be done for free.

Edit: Xcode IS preinstalled on the GitHub-hosted runners! I'll take a look into it.