• 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: Copy Headers Build Phase is Flattening my directories
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy Headers Build Phase is Flattening my directories


  • Subject: Re: Copy Headers Build Phase is Flattening my directories
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 1 Jul 2005 11:29:21 -0700

On Jul 1, 2005, at 10:38 AM, Mike Jackson wrote:

Is there a way to add files to XCode projects where the directory structure will stay in tact when copied to the "Headers" directory of a framework? Here is an example:


/ (Root Level of Source)

|-- Generic

    |--Export.h

|-- OtherStuff

    |--Export.h


When the Copy Headers Phase fires off I only get one header file at the top level of the "Headers" folder in the framework. I should have at least 2 folders there each containing a file called Export.h



The way to do this in 2.1 and earlier:

• add the header folders as File References (using the radio button in Add Files)
• in the target, create a new Copy Files build phase, and set it to Relative to Wrapper, path Headers
• drag the file references for the headers from the Copy Bundle Resources build phase to the new Copy Files build phase

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

References: 
 >Copy Headers Build Phase is Flattening my directories (From: Mike Jackson <email@hidden>)

  • Prev by Date: Re: Program crashes when executed normally, but runs w/o trouble in the Debugger
  • Next by Date: Re: Xcode 2.1 and group renaming
  • Previous by thread: Copy Headers Build Phase is Flattening my directories
  • Next by thread: Re: Copy Headers Build Phase is Flattening my directories
  • Index(es):
    • Date
    • Thread