Using .dylibs in Xcode
  #1 (permalink)  
Unread 06-19-2009, 05:49 AM
harkathmaker harkathmaker is offline
Junior Member
 
Join Date: Jun 2009
Posts: 1
Default Using .dylibs in Xcode

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?
Reply With Quote
Reply

Tags
dylib

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT. The time now is 10:54 PM.


vBulletin skin developed by: eXtremepixels
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28