|
#1
| |||
| |||
| dyld_library_path and info.plist
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 ![]() thanks in advance! |
|
#2
| ||||
| ||||
|
Have you tried simply "Contents/MacOS/"?
__________________ Mac mini 2.0GHz 10.6.2 • 4GB • 320GB • Superdrive • 4 x 1TB USB 2.0 • LED Cinema Display MacBook 2.0GHz Core 2 Duo - White 10.6.2 • 4GB • 250GB • CD-RW/DVD-ROM iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 18Mb/2Mb http://www.jeffhoppe.com |
![]() |
| Bookmarks |
| Thread Tools | |
|
|