• 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: Target's header files added to built product's resources?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Target's header files added to built product's resources?


  • Subject: Re: Target's header files added to built product's resources?
  • From: Shaun Wexler <email@hidden>
  • Date: Tue, 3 May 2005 02:08:41 -0700

On May 3, 2005, at 1:31 AM, Scott Tooker wrote:

Actually, unless you are building a product that includes headers (like a framework) you don't need to add the headers to the target at all, simply having them in the project is enough. The Copy Headers build phase is only interesting in the case where the headers are actually being placed in the built product, otherwise the build phase is a no-op.

In Xcode 2.0 we no longer auto-route headers to the Build Resources phase anymore, which should avoid accidentally adding the headers to the wrong build phase.

The BUG, of course, is that when a new file is created and added to targets via the dialog checkboxes, the headers are also added, so if there isn't a Headers phase, they go into Resources and are subsequently copied into the package (in Xcode 1.5).


AFAIR, default project templates in Xcode 1.2 and earlier always included Headers phases in each target, as well as newly created targets. Correct?
--
Shaun Wexler
MacFOH
http://www.macfoh.com



_______________________________________________ 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: Target's header files added to built product's resources?
      • From: Scott Tooker <email@hidden>
References: 
 >Target's header files added to built product's resources? (From: Dave Hersey <email@hidden>)
 >Re: Target's header files added to built product's resources? (From: Jerry <email@hidden>)
 >Re: Target's header files added to built product's resources? (From: Shaun Wexler <email@hidden>)
 >Re: Target's header files added to built product's resources? (From: Scott Tooker <email@hidden>)

  • Prev by Date: Re: Target's header files added to built product's resources?
  • Next by Date: Re: Target's header files added to built product's resources?
  • Previous by thread: Re: Target's header files added to built product's resources?
  • Next by thread: Re: Target's header files added to built product's resources?
  • Index(es):
    • Date
    • Thread