Feature Request: Static Linking Support for bblanchon.PDFium.iOS (Unity Compatibility)

0 views
Skip to first unread message

Vincent Jantet

unread,
12:08 PM (6 hours ago) 12:08 PM
to pdfium
Context:
- Unity requires .a files for iOS native plugins.
- Dynamic libraries (.dylib) are not supported in Unity’s iOS workflow.

Hello @bblanchon,

First of all, thank you for your work on the bblanchon.PDFium packages! At Artefacto (a French company), we use your NuGet packages (bblanchon.PDFium.*) for cross-platform PDF rendering, including in Unity-based mobile applications (e.g., Augmented Reality projects).
We’ve encountered a compatibility issue with bblanchon.PDFium.iOS in Unity: the current package includes a dynamic library (libpdfium.dylib), but Unity’s iOS build pipeline requires static linking (.a files) for native plugins. This prevents us from using the iOS package directly in our projects.
Before we attempt to recompile the source code ourselves with static linking, we wanted to ask:

- Would a statically linked version of bblanchon.PDFium.iOS be useful to the community? Do you have plans to add this in a future release?
- For someone with your expertise and existing build environment, would generating a static version be relatively straightforward?

We’d be happy to contribute back if we manage to build it ourselves, but we wanted to check if this is already on your roadmap or if you have any guidance to share.

Thank you for your time and for maintaining such a valuable project!

Let us know your thoughts!

Best regards,

Vincent Jantet (Artefacto)

Lei Zhang

unread,
12:21 PM (6 hours ago) 12:21 PM
to Vincent Jantet, pdfium
Hi,

This is not the mailing list for bblanchon.PDFium packages. If you
have questions about that binary PDFium distribution, ask on
https://github.com/bblanchon/pdfium-binaries/issues.
> --
> You received this message because you are subscribed to the Google Groups "pdfium" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pdfium+un...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/pdfium/f4454798-e08f-4ae3-b84c-2bf0f618b14an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages