Re: making a framework...
Re: making a framework...
- Subject: Re: making a framework...
- From: Peter Lau <email@hidden>
- Date: Mon, 22 Aug 2005 12:30:19 -0400
Hi Chris,
Thanks for your reply. :-)
On Aug 22, 05, at 12:38 AM, Chris Espinosa wrote:
On Aug 21, 2005, at 8:15 PM, Peter Lau wrote:
I was playing with XCode 2.1 and tried to make a "Carbon
Framework"...
I added a .c and .h file to the project window and built the the
framework. the build was successful but the header file does not
get copied into the frameowrk hierachy so it does not look like
the framework that I would see in the System Folder.
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
I just filed a radar bug (rdar://problem/4226080) for not mentioning
"Framework Programming Guide" in the XCode 2.1 User Guide.
The headers are copied into the built framework by the Copy Files
build phase. 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.
I am using XCode 2.1 and either Detail nor Condensed project window
allow me to drag header file to the Copy Headers in the build phases.
However, drag the header file to the file area seems to work and it
automatically shows up in the Copy Headers build phase... I still
need to go to the Detail view to set the role of the header, as you
described above.
should I file a feature request to allow me to do that in the
Condense mode? Either a column or "Get Info" should do the trick.
Thanks.
pete
_______________________________________________
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