• 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: new target questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new target questions


  • Subject: Re: new target questions
  • From: Markian Hlynka <email@hidden>
  • Date: Tue, 5 Apr 2005 01:23:40 -0600


I've done this before, but It's been a little while, so I must have forgotten something.

I'm adding a target to an existing project. When I chose Add->New Target->Shell Tool, I get a new target with the subclasses "Sources" and "Frameworks & Libraries". All my other targets say "Headers" and "Sources". Maybe I just renames the latter one, but I don't recall. Thus:

1. Is there a way to create a new target based on a "copy" of an existing target, and then make modifications?
...
But, how do I add or change subgroups under a target? If I right-click on my target's sub-groups, nothing appropriate seems to appear.

And then Fritz wrote...
I assume you're talking about the gray boxes that appear when you open the disclosure triangle next to the target's icon.

Those aren't groups; they are build phases. They describe tasks in the course of building the target. A shell tool is built by (1) compiling its sources and (2) linking them against libraries. Those are the two phases you see. The tool product is a single executable file. Unlike a framework or application target, it has no bundle to build, and phases for copying headers or resources into a bundle do not apply.


I understand, and you describe it all correctly, the grey boxes etc. But, I have grey boxes called "headers" and "sources". I don't know where I got them from, but there they are. I don't link against any libraries in this project anyway. At least, none that go in that other box, that I'm aware of!


So, my "headers" and "sources" boxes must have come from _somewhere...?

Can I add/modify these? I can't figure out how to do that, though it seems I must have at some point.

Thanks,

Markian

_______________________________________________
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


  • Follow-Ups:
    • Re: new target questions
      • From: Chris Espinosa <email@hidden>
References: 
 >new target questions (From: Markian Hlynka <email@hidden>)
 >Re: new target questions (From: Mike Lazear <email@hidden>)
 >Re: new target questions (From: Markian Hlynka <email@hidden>)
 >Re: new target questions (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Here's why... (was Re: XCode no more Syntax Coloring)
  • Next by Date: Re: new target questions
  • Previous by thread: Re: new target questions
  • Next by thread: Re: new target questions
  • Index(es):
    • Date
    • Thread