Re: Finding Files Buried in Groups
Re: Finding Files Buried in Groups
- Subject: Re: Finding Files Buried in Groups
- From: James Bucanek <email@hidden>
- Date: Thu, 29 Dec 2005 15:44:19 -0700
Nick Nallick wrote on Thursday, December 29, 2005:
>I'm not trying to bash the tool, I just don't want to get bogged down
>in the terminology of whether I'm adding a file to a phase or a
>target or whatever. Mostly I just want the IDE to do the right thing
>if I accidentally add a file twice.
For future referece:
When you add a file to a target, you are actually adding the file to one phase in the target. [In Xcode the meaning of "a file is in a target" is actually "a file is in one or more phases of a target".] Xcode is very smart about what phases expect and will choose a phase for you. Over 98% of the time this is exactly what you want and you don't have to worry about the mechanics of which phase is the correct one for your file.
However, about 1% of the time you will need to add a file to more than one phase in a target or to a phase that normally doesn't accept that source file type. Xcode will happily allow you do that as well. Another 1% of the time you will find that Xcode has allowed you to add a file to a target where it really don't belong, and it will do it's best to pick a phase that makes the most sense -- even thought it's completely bogus choice.
Developer tools walk the line between one group of developers who just want to tool to figure out what's "right" and stop them from doing anything else, and the other group who wants the tool to do exactly as it is told and stop complaining or trying to second guess them.
The Xcode team, of course, is caught in the middle and will never win.
--
James Bucanek
_______________________________________________
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