Hi,
I am trying to use a .dylib file in an Xcode project. In the example I am following, there is a custom script added:
install_name_tool -change /usr/local/lib/libirrklang.dylib @executable_path/libirrklang.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME"
It changes the directory where Xcode searches for the .dylib from a certain directory to the same place as the created file.
This works for a Carbon shell target, but not for an application. I was wondering, is there a way to accomplish this same thing with a .app target?
I am trying to use a .dylib file in an Xcode project. In the example I am following, there is a custom script added:
install_name_tool -change /usr/local/lib/libirrklang.dylib @executable_path/libirrklang.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME"
It changes the directory where Xcode searches for the .dylib from a certain directory to the same place as the created file.
This works for a Carbon shell target, but not for an application. I was wondering, is there a way to accomplish this same thing with a .app target?