Re: What ends up in the "Bundle Resources" group
Re: What ends up in the "Bundle Resources" group
- Subject: Re: What ends up in the "Bundle Resources" group
- From: Dave Hersey <email@hidden>
- Date: Mon, 27 Jun 2005 14:57:36 -0400
Hi Scott,
Thanks for the feedback-- I hadn't heard that this was a problem.
The thing I've run into is when we're using Xcode 1.5 for projects and
someone on the development team adds existing or new files to a project. The
header files will be selected in the source tree for a target after the add
and it's way to easy to forget or not notice that they're also going to be
plopped into your bundle resources. In fact, it's so easy that I can't
believe that there's not code shipping from someone that has header files in
the resource bundle.
If you have a headers build phase that doesn't happen. What is the danger
with this? Is it a problem when you move the project to Xcode 2 or something
else? Also, is there a better solution that's equally automated? Going to
Xcode 2 isn't necessarily an option, since changing IDEs late in a project
schedule is too large a risk.
Thanks,
Dave
On 6/27/05 2:18 PM, "Scott Tooker" <email@hidden> wrote:
> Please don't add a Copy Headers build phase until you need to copy
> the headers somewhere as part of the product you are building (like a
> framework). Xcode 1.5 and later only needs the headers to be part of
> the project (not a specific target) to find them when building any
> target.
>
> Scott
>
> On Jun 27, 2005, at 8:58 AM, Dave Hersey wrote:
>
>> Yeah, I hit this too. Kind of surprising to find your header files in your
>> built products.
>>
>> As someone suggested to me a while back, if you need to use Xcode 1.5, add a
>> Headers build phase to your targets and everything will work correctly.
>> You'll also need to either drag the headers that are already in the Bundle
>> Resources phase to the Headers phase, or uncheck them and re-check them in
>> the source tree to fix up your targets.
>>
>> - Dave
_______________________________________________
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