• 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
creating a target dependency in an Xcode project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

creating a target dependency in an Xcode project


  • Subject: creating a target dependency in an Xcode project
  • From: Roland Silver <email@hidden>
  • Date: Mon, 11 Apr 2005 03:45:03 -0600

I have been reading Garfinkel & Mahoney, "Building Cocoa Applications", to learn Cocoa programming, but using Xcode instead of Project Builder (PB). Up to page 325, I have been able to deal with the differences between the two IDEs, but at that point a difficulty arises which I have been unable to surmount. The book directs the reader as follows:

"Next, we need to inform PB that the MathPaper target depends upon the Evaluator target.
12. Click the vertical Targets tab in PB's main Window to open the Targets pane.
13. Drag the Evaluator target and drop it on top of the MathPaper target. (Drop the Evaluator target when the disclosure triangle changes to your highlight color -- it took us several tries to make it work.)"


What I think they are tring to do is to tell PB that the tool created when the Evaluator target is built is an auxiliary executable for the MathPaper target, that is, they want the Evaluator target to be built before the MathPaper target.

But targets are organized differently in Xcode, and I cannot create the dependency required by making Evaluator a subtarget of MathPaper in the way the book suggests.
In Xcode, there is no Target tab, but rather a Target group with the two targets subsidiary to it (I use the at-sign below, instead of the red concentric circles that appear in the Xcode Groups & Files):
@Targets
MathPaper
Evaluator
I've tried dragging Evaluator over MathPaper, but nothing happens.


How do I establish the dependency in Xcode rather than PB? Is it sufficient to have the Evaluator target earlier than Mathpaper, i.e. just to drag Evaluator before MathPaper?

--Roland Silver <email@hidden>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: creating a target dependency in an Xcode project
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re:Structuring multi-framework projects
  • Next by Date: Re: NSBezierPath geometry question...
  • Previous by thread: Re: NSOutlineView byItem reference
  • Next by thread: Re: creating a target dependency in an Xcode project
  • Index(es):
    • Date
    • Thread