Hi, ALL,
I have a Application Bundle where I have a main executable and couple if dylibs.
In the Xcode there are 2 options: "Dynamic Library Install Name" and "Dynamic Library Install Name Base". Right now they are point to "/usr/local/lib".
I thought that I overrode them with the Post Build script by using "install_name_tool -id" and "install_name_tool -change", but apparently when I run the program I still see them being referenced from "/usr/local/lib".
I can't change those options in the Xcode dylib project because when I build it the folder "myAppBundle.app/Content/Frameworks" do not exist yet and therefore the build system will not know about it.
What is the proper way to reference the dylib inside the Xcode?
Thank you.