• 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: Newbie question: using targets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question: using targets


  • Subject: Re: Newbie question: using targets
  • From: Ken Thomases <email@hidden>
  • Date: Fri, 2 Oct 2009 22:29:29 -0500

On Oct 2, 2009, at 10:00 AM, Jens Alfke wrote:

On Oct 1, 2009, at 10:04 PM, Ken Thomases wrote:

Unfortunately, Xcode doesn't really have good support for maintaining several similar targets which are based on some common "prototype" target. Once you duplicate a target, the two targets are independent. If you later find that you need to make a change that's common to all of the targets which descended from your original, you have to apply it individually to each.

One workaround is to put the common code into a target that builds a static library, and then have the other targets link against that library.

Yes, that helps for code. Not so much for resources or some of the other things that go into a target.


Regards,
Ken

_______________________________________________
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: 
 >Newbie question: using targets (From: DKJ <email@hidden>)
 >Re: Newbie question: using targets (From: Ken Thomases <email@hidden>)
 >Re: Newbie question: using targets (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Online docs jumping when tooltip displayed, *in Safari*
  • Next by Date: Re: -fwritable-strings not compatible with literal CF/NSString
  • Previous by thread: Re: Newbie question: using targets
  • Next by thread: How to ensure that nested project targets get built ?
  • Index(es):
    • Date
    • Thread