dyld_library_path and info.plist

mavris

Registered
hello
I am developing a project which use some libraries.
I have locate my libraries inside the application.app/Contents/MacOS/.
So i am opening the info.plist inside the .app folder and add an environment variable DYLD_LIBRARY_PATH and set the variable to point to the "./Contents/MacOS/" and the system cant locate the libs.
When use full path (/Users/Desktop/application.app/Contents/MacOS/) the system locating the libs and work fine. I want my app to be portable so i have to use the current directory.

This is my info.plist
picture1sdk.png


thanks in advance!
 
Back
Top