Re: making a framework...
Re: making a framework...
- Subject: Re: making a framework...
- From: Chris Espinosa <email@hidden>
- Date: Sun, 21 Aug 2005 22:34:48 -0700
On Aug 21, 2005, at 10:04 PM, Nick Zitzmann wrote:
On Aug 21, 2005, at 10:38 PM, Chris Espinosa wrote:
does XCode 2.1 support that out of the box or I have to start
writing shell script for that purpose?
http://developer.apple.com/documentation/MacOSX/Conceptual/
BPFrameworks/Tasks/CreatingFrameworks.html
The headers are copied into the built framework by the Copy Files
build phase.
I think it's actually the Copy Headers build phase.
Yeah, that's what I meant.
Turn the disclosure triangle of the target to see the build phases,
and drag the header file(s) you want to be copied into that build
phase. Then select the build phase and using the Detail view, set
the Role of each header to Public, Private, or Project. Public and
Private headers will be copied to Headers and PrivateHeaders,
respectively.
You don't need to actually drag any headers. Setting the role for each
header is all one needs to do, and Xcode does the rest. The only two
things that catch most people is (1) you have to select either the
target or the Copy Headers build phase in the target in order to find
the header roles, and (2) if you're using the Condensed layout type
for projects, you have to choose "Detail" in the View menu to get to
the place where you can set header roles.
The headers ought to have been added to Copy Headers for you, but in
case they weren't, you can drag them there.
Chris
_______________________________________________
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