Re: Xcode copying .h files to Package?
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