• 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: Adding files to "Compile sources" build step
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding files to "Compile sources" build step


  • Subject: Re: Adding files to "Compile sources" build step
  • From: Fritz Anderson <email@hidden>
  • Date: Fri, 4 Jul 2008 11:53:12 -0500

On 4 Jul 2008, at 9:43 AM, JonathanF wrote:

When I add files to the "Compile sources" build-step under a target, Xcode also automatically puts references to those files at the top level of the "Groups & Files" view, right under the name of the project. How do I stop that? -- I can't imagine that people who have hundred or thousands of files in their projects want this behavior, since it crowds everything else in the "Groups & Files" view out of the visible area of the scroll-pane....

The upper part of the Groups & Files list shows all the files that are a part of the project. Not every file is in every target; some files even go into _no_ target. Project membership is simply a matter of being able to refer for your own use to that file.


BUT: Every file that goes into a target must be a member of the project. There's no escaping having such files in the project group of the Groups & Files list.

But you don't have to have a flat list of project files. You can group them. Groups are shown in the G&F list as yellow folders. These do not (necessarily) correspond to directories in the file system; they are _solely_ for your convenience.

Create a new group by selecting Project > New Group, ⌥⌘N. Name the group. Drag files into the group. Or, select the files you want to group (the ⌘ key is your friend), and select Project > Group, ⌥⌘G. Something in the Groups & Files list has to be selected for the commands to be available, which is a minor annoyance.

Voilà: A shorter Groups & Files list.

	— F, waiting for a Genius on a national holiday.
	Xcode 3 Unleashed hits the streets on August 1

_______________________________________________
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


References: 
 >Adding files to "Compile sources" build step (From: "JonathanF" <email@hidden>)

  • Prev by Date: Re: Auto-include date/time
  • Next by Date: Re: MAC OS native 3rd party software update mechanism
  • Previous by thread: Re: Adding files to "Compile sources" build step
  • Next by thread: Re: Adding files to "Compile sources" build step
  • Index(es):
    • Date
    • Thread