Some test text!

Search
Hamburger Icon

Mac / FAQ / I am trying to integrate PDFNet in my own project on macOS

I am trying to integrate PDFNet in my own project on macOS

If you get one of these error messages, or similar:

dyld: warning, LC_RPATH . in /Users/Username/PDFNetWrappersMac/PDFNetC/Lib/PDFNetRuby.bundle being ignored in restricted program because it is a relative path
dyld: warning, LC_RPATH . in /Users/Username/PDFNetWrappersMac/PDFNetC/Lib/_PDFNetPython.so being ignored in restricted program because it is a relative path

Please do the following whenever you intend to move the library files to a different filesystem path:

  1. Download PDFNetC SDK again, or just extract again, so that you have fresh PDFNetC libraries.
  2. Copy fix_rpaths.sh and the libraries you need (i.e. libPDFNetC.dylib and one or both of _PDFNetPython.so, PDFNetRuby.bundle) from <package path>/PDFNetC/Lib to the destination directory in your project.
  3. Run ./fix_rpaths.sh with the working directory set to the destination directory from step (2) above.

Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales