Re: Another Library reference problem/question...
Re: Another Library reference problem/question...
- Subject: Re: Another Library reference problem/question...
- From: Greg Guerin <email@hidden>
- Date: Sun, 29 Jun 2008 07:35:50 -0700
marc hoffman wrote:
so i guess that means a framework is either compiled to be deployed
externally *or* included in .app bundles, but the app developer
cannot simply choose to do either, as he pleases?
You can choose as you please. The way you choose is by changing the
install-name of the framework, and perhaps of one or more libs it
refers to.
odd design choice, i would have expected the OS to just try a
series of locations (such as, in the app bundle, then ~/Library,
then /Library...
The OS does try a series of locations, but . and ../Frameworks aren't
in that list by default. Read 'man dyld' and note the default values
for the XX_PATH env-vars. Also note WHEN it searches each path.
Also, there are security consequences for following an arbitrary path
looking for libs, so the OS may want to mitigate some of that
exposure rather than follow the gently sloping path to hell.
-- GG
_______________________________________________
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