• 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:32:56 -0400

On Aug 22, 05, at 1:34 AM, Chris Espinosa wrote:

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.

I think I missed it on the weekend when I tried that... but I cannot drag the header file(s) to the Copy Headers build phase in either Detail or Condensed project window. I am using XCode 2.1.


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


  • Follow-Ups:
    • Re: making a framework...
      • From: Chris Hanson <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>)
 >Re: making a framework... (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: making a framework...
  • Next by Date: Re: making a framework...
  • Previous by thread: Re: making a framework...
  • Next by thread: Re: making a framework...
  • Index(es):
    • Date
    • Thread