• 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: Thomas Lachand-Robert <email@hidden>
  • Date: Fri, 13 Aug 2004 21:38:30 +0200

Le 13 ao{t 04, ` 18:04, Brent Gulanowski a icrit :

On Fri, 13 Aug 2004 16:19:40 +0200, Thomas Lachand-Robert <email@hidden> wrote:
This is probably stupid but I can't find a way to remove a file from
one target, not removing it from the other. My app is built in two
"flavors", one is a GUI app, the other is a terminal tool. So I have
two targets, and also two files "main.m" for the GUI and "mainTool.m"
for the tool. But both are present in the GUI target, and I can't
remove "mainTool.m": clicking the check box on the right of the detail
pane deactivates it from both targets; and using delete removes it from
both, two. So???



Unchecking the checkbox in the target column of the file list view should not remove the file from both targets, only the active target. I have never seen this bug. Check and again and if it is still like that, file a bug. What about other files?



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.)

Thanks,

Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet ` la chose. >> Molihre, Tartuffe.
_______________________________________________
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.


  • Follow-Ups:
    • Re: How do you remove a file from a target???
      • From: Chris Espinosa <email@hidden>
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>)

  • Prev by Date: Re: Xcode 1.5 Run Log prefs?
  • Next by Date: Interface Builder Problems/Bugs
  • Previous by thread: Re: How do you remove a file from a target???
  • Next by thread: Re: How do you remove a file from a target???
  • Index(es):
    • Date
    • Thread