Re: private dylib
Re: private dylib
- Subject: Re: private dylib
- From: Fritz Anderson <email@hidden>
- Date: Tue, 17 Mar 2009 14:48:24 -0500
On 17 Mar 2009, at 2:37 PM, Rich Collyer wrote:
I am working with a private dylib and have tried what is recommended
in both the Apple document "Embedding a Private Framework in Your
Application Bundle" and page 217-219 of "Xcode 3 Unleashed", but I
continue to have a problem with the application not being able to
find the dylib. It keeps wanting to look for the dylib in the build
location (CONFIGURATION_BUILD_DIR) instead of the install path
(INSTALL_PATH).
In the Products group in the Groups & Files list, select the dylib and
Show in Finder.
Open a terminal window. Type "otool -D " (note trailing space) and
drag the dylib file from the Finder into the terminal window. This
will put the full path of the file into your command line. Press
<return>.
The command will show you the install name of the library. Is it what
you expected -- an @executable_path-relative path to the dylib in the
private framework directory of your application?
— F
--
Fritz Anderson -- Xcode 3 Unleashed: Now in its second printing -- <http://x3u.manoverboard.org/
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden