You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried it and it works fine, but I found there is no @rpath in built lippdfuim.dylib. That means I have to put it into myapp.app/Contents/MacOS when I tried to release my app, but it disallowed by Apple, could you please add @rpath for convenience, such as "@rpath/lippdfuim.dylib" ?
BTW, I tried install name tool but I got below error:
changing install names or rpaths can't be redone for: ~/Downloads/pdfium-mac-arm64/lib/libpdfium.dylib (for architecture arm64) because larger updated load commands do not fit.
Thanks
The text was updated successfully, but these errors were encountered:
I'm sorry, I'm unfamiliar with this problem; I thought @rpath was set on the executable, not on the library. @TcT2k, do you think you can shed some light?
mostly, the dylib id would be @rpath/libpdfium.dylib so it can be search from Frameworks directory but here it is ./libpdfium.dylib which means it should be same directly to the runtime path.
we can rename the id by this command: install_name_tool -id @rpath/libpdfium.dylib /path/from/libpdfium.dylib
Hi,
Thanks for your effort.
I have tried it and it works fine, but I found there is no @rpath in built lippdfuim.dylib. That means I have to put it into myapp.app/Contents/MacOS when I tried to release my app, but it disallowed by Apple, could you please add @rpath for convenience, such as "@rpath/lippdfuim.dylib" ?
BTW, I tried install name tool but I got below error:
changing install names or rpaths can't be redone for: ~/Downloads/pdfium-mac-arm64/lib/libpdfium.dylib (for architecture arm64) because larger updated load commands do not fit.
Thanks
The text was updated successfully, but these errors were encountered: