• 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: How do you remove a file from a target???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do you remove a file from a target???


  • Subject: Re: How do you remove a file from a target???
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 13 Aug 2004 13:52:07 -0700

On Aug 13, 2004, at 12:38 PM, Thomas Lachand-Robert wrote:

Well, maybe I'm just too confused by the interface of Xcode on this point. Let me specify exactly what I do:
In the list of files (outline view), I select one of the two targets. Then the detail pane shows a list of files, and the last column contains a check box; most of these boxes are checked, but not all of them.
These are different lists for both targets (though there is a lot of common files). Some files are present in one list, not in the other, and vice-versa.


Now if I try to uncheck "mainTool.m" in one target, then it becomes unchecked in the other one, too. But it is still present in the list. Since you suggested to try other files, I unchecked "main.m" in the GUI target; switching to the other target, I see it is not even in the list; switching back to the first one... it is not here anymore!!! So apparently I got "mainTool.m" in both targets, "main.m" in none, and there is no simple way to put it back in place (drag and drop from the list doesn't work).

After some tries I have discovered that changing the active target WITH THE POPUP MENU give lists which are more like one could expect. And then you can check and uncheck in a natural way...

So, could anyone explain exactly what are the files shown in the detail view if you select a target in the outline view (not the popup)? Is is true that the last column's checkboxes indicate that the file belongs to the target (the selected one or the active one?)? (This is not so clear because there is no title or tooltip on the column headers, just icons.)

What is confusing you is that the checkmarks next to the files represent inclusion in the *current target*, not in the target that they are spatially "under" in the outline view.


Pick target A from the "Current Target" pulldown menu in your toolbar, and check the Target checkbox on the file under Target A.

Then pick Target B from the "Current Target" pulldown in your toolbar and uncheck the checkbox of the file under Target B.

Now switch back and forth between targets using the pulldown menu. You should see the check marks come and go.

Important thing to remember: Selecting a target icon in the Groups and Files list does not, in and of itself, make that target current, The current target is the one with the green badge on it, and the checkmarks refer to whether the files checked are included in it.

This may seem counter-intuitive, but for people coming from the Code Warrior environment, it's the way that environment works, too.

Chris
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >How do you remove a file from a target??? (From: Thomas Lachand-Robert <email@hidden>)
 >Re: How do you remove a file from a target??? (From: Brent Gulanowski <email@hidden>)
 >Re: How do you remove a file from a target??? (From: Thomas Lachand-Robert <email@hidden>)

  • Prev by Date: How to get rid IB warning about "pre-10.2 nib file format"?
  • Next by Date: Re: Xcode 1.5 Release - Shell script phase
  • Previous by thread: Re: How do you remove a file from a target???
  • Next by thread: How to include double-quotes in localized strings ?
  • Index(es):
    • Date
    • Thread