Re: Embedding a framework...
Re: Embedding a framework...
- Subject: Re: Embedding a framework...
- From: Peter Lau <email@hidden>
- Date: Fri, 2 Sep 2005 16:52:16 -0400
On 2-Sep-05, at 4:26 PM, Chris Hanson wrote:
On Sep 2, 2005, at 10:49 AM, Jeff LaMarche wrote:
I'm embedding a framework into an application. The instructions on
Apple's developer website say that the last step in embedding a
framework is to add the framework as a dependency to the
application target. However, when I try to do that, the "+" icon
for adding dependencies is grayed out. Dragging the framework from
the Groups & Files pane to the dependencies view doesn't work either.
What instructions are you referring to? It usually helps to
include the URL.
I think it's here:
<http://developer.apple.com/documentation/MacOSX/Conceptual/
BPFrameworks/Tasks/CreatingFrameworks.html#//apple_ref/doc/uid/
20002258-106880-BAJJBIEF>
It sounds like you're looking at instructions for embedding a
framework that you're building. If it's a third-party framework
rather than one you're building, you don't need to make your
application target have a target dependency on it.
yes, the instructions is applicable when you decided to make part of
your code as framework and place it in the /Frameworks folder inside
the application bundle.
here's a question for this XCode newbie:
from what I understand, when I compiled my meant to be in /Framework
inside application bundle framework, I need to use a magic string
"@executable_path/../Frameworks" in the "Installation Directory"
settings.
my question is, I can't really release one Mac OS X Mach-O framework
and expect the loader to work either in ~/Library/Frameworks or
MyApp.app/Contents/Frameworks/ automatically?
pete
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden