• 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
How to unconditionally copy headers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to unconditionally copy headers?


  • Subject: How to unconditionally copy headers?
  • From: Bruce Sharpe <email@hidden>
  • Date: Sat, 1 Aug 2009 09:55:01 -0700

I have set a header file's role in Xcode to private so that it will
get copied to the desired location by the Copy Headers build phase. It
works as expected if there is not already a header file of that name
in the target location. But if there is an existing file, it does not
overwrite it. Even if the header file has changed in the project it
doesn't update the copy in the target location. The Build Results
windows shows a line "Copying MyFile.h" but the file remains as the
old one.

This doesn't seem right and is definitely not what I want. How can I
force Xcode to unconditionally copy (and overwrite if necessary)
header files in the Copy Headers build phase?

Bruce
 _______________________________________________
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: How to unconditionally copy headers?
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Info request on "DWARF with DSYM" settings
  • Next by Date: Re: How to unconditionally copy headers?
  • Previous by thread: Re: Info request on "DWARF with DSYM" settings
  • Next by thread: Re: How to unconditionally copy headers?
  • Index(es):
    • Date
    • Thread