• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: making a framework...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making a framework...


  • Subject: Re: making a framework...
  • From: Peter Lau <email@hidden>
  • Date: Mon, 22 Aug 2005 12:31:43 -0400

On Aug 22, 05, at 1:04 AM, 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.

Thanks for the correction, Nick.

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.

In XCode 2.1, my experience is I can't drag header file directly into the Copy Headers build phase.


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


References: 
 >making a framework... (From: Peter Lau <email@hidden>)
 >Re: making a framework... (From: Chris Espinosa <email@hidden>)
 >Re: making a framework... (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: making a framework...
  • Next by Date: Re: Header/library version mismatches
  • Previous by thread: Re: Question about private libraries in an Xcode project
  • Next by thread: Re: making a framework...
  • Index(es):
    • Date
    • Thread