Re: Library not loaded - wrong path?
Re: Library not loaded - wrong path?
- Subject: Re: Library not loaded - wrong path?
- From: Fritz Anderson <email@hidden>
- Date: Wed, 10 Sep 2008 10:10:47 -0500
On 9 Sep 2008, at 7:38 PM, Michael Williamson wrote:
So either I need to
a) change the framework install path,
b) or copy the framework to Resources instead.
For now I've done (b) just to get it working, and that fixed my
problem (Thanks!)
But (a) seems preferable, since frameworks should probably live in
"Frameworks"?
I couldn't see where to change the install path.
Is it determined and fixed at the time of compiling the framework?
This is a 3rd party framework, downloaded in a precompiled form. I
could download the source instead and build it myself if I really
have to ...
(a) is in fact the Right Thing, and the maker of the third-party
framework was in error building it to install in Resources. (I haven't
researched it, but the location may affect code signing.)
If it really bothers you (it would really bother me), download the
source, open the Target Info window for the framework target, select
the Build tab, and enter "@executable_path/../Frameworks" in the
Installation Directory line.
Bonus: You'll be able to step into the framework when you're
debugging. Make sure the framework and application projects share a
build directory.
— F
--
Fritz Anderson -- Xcode 3 Unleashed: Now Available -- 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