Re: Target's header files added to built product's resources?
Re: Target's header files added to built product's resources?
- Subject: Re: Target's header files added to built product's resources?
- From: Scott Tooker <email@hidden>
- Date: Tue, 3 May 2005 01:31:27 -0700
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.
Scott
On May 3, 2005, at 12:46 AM, Shaun Wexler wrote:
On May 3, 2005, at 12:22 AM, Jerry wrote:
On 2 May 2005, at 16:20, Dave Hersey wrote:
I recently noticed that if I have the "target membership" boxes
for header
files checked for my targets, the header files get added to the
resources of
my built products! This is not the case with older project files
I have.
This seems very strange to me. Why would anyone EVER want to ship
header
files inside their built products? Plus, since I have older
projects that
don't show this behavior, I have to wonder what's up.
Anyone else seeing this? Xcode 1.5.
Yes, I'm forever having to clear out header files from my
Resources. I never worked out what made them go in there in the
first place though.
You need to manually add a Headers Build Phase to your target(s),
and then they will not be included in Resources. It's an Xcode
PITA feature, left over from v1.2 AFAIR... ;)
--
Shaun Wexler
MacFOH
http://www.macfoh.com
"Problems cannot be solved by the same level of thinking that
created them." - Albert Einstein
_______________________________________________
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
_______________________________________________
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