• 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: Xcode copying .h files to Package?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode copying .h files to Package?


  • Subject: Re: Xcode copying .h files to Package?
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 15 Nov 2005 00:01:34 -0800

On Nov 14, 2005, at 11:00 PM, j o a r wrote:

In my Project (just moving from CW), Xcode is copying .h fles into the final
build's Resources folder within the project. How do I prevent this?

You probably have a "Copy Headers" build phase in a target that doesn't really need it. I think you can solve this in one of two ways: Either [1] delete the build phase from the target, or [2] select the build phase and use the detail view in Xcode to specify how you want each header handled, on a per-header basis. The docs have more info on this topic.

Actually, there probably isn't a Copy Headers phase. In that case, any target members that aren't source files will be added to the Copy Bundle Resources phase and end up in the Resources folder, which seems to be what is happening. Just locate the header and uncheck its target membership. The #include statements will still find it, and you can still use it under SCM, but it will not actually be "built."

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

  • Follow-Ups:
    • Re: Xcode copying .h files to Package?
      • From: j o a r <email@hidden>
References: 
 >Xcode copying .h files to Package? (From: Trygve Inda <email@hidden>)
 >Re: Xcode copying .h files to Package? (From: j o a r <email@hidden>)

  • Prev by Date: Re: xcPROJECTNAMExc_Prefix.pch
  • Next by Date: Re: Xcode copying .h files to Package?
  • Previous by thread: Re: Xcode copying .h files to Package?
  • Next by thread: Re: Xcode copying .h files to Package?
  • Index(es):
    • Date
    • Thread