Re: How to use a framework in a non-standard location?
Re: How to use a framework in a non-standard location?
- Subject: Re: How to use a framework in a non-standard location?
- From: Scott Tooker <email@hidden>
- Date: Tue, 23 Nov 2004 13:53:30 -0800
On Nov 23, 2004, at 2:33 AM, j o a r wrote:
On 2004-11-23, at 11.20, Andy Wiese wrote:
I gather from this that INSTALL_PATH is actually a value stored
somewhere inside the framework that tells the dynamic linker where to
go looking for the framework at runtime? The instructions seemed
obsolete and I really just thought it was the build destination.
So are there some default locations that are always searched even if
the framework is not at the INSTALL_PATH? That would explain why the
application would run if it was in the same directory as the
framework.
This page holds answers to most of your questions:
<http://developer.apple.com/documentation/MacOSX/Conceptual/
BPFrameworks/Tasks/InstallingFrameworks.html>
I think I remember that the build folder is also searched, but I'm not
sure. It might be true only if the app is launched from Xcode? I think
that you need to ask someone from Apple to provide you with a better
answer to that question. Not that it matters much perhaps, it's not
something that you're going to be able to use when you distribute your
app in any case.
When you run or debug an executable under Xcode, we add the build
products directory to DLYD_FRAMEWORK_PATH so that any frameworks that
are in the build products directory are used instead of the installed
version. This is why using a shared build directory across related
projects is a good idea (we depend on this when working on Xcode since
the functionality is split across the app and the DevTools*
frameworks).
Scott
j o a r
_______________________________________________
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
_______________________________________________
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