• 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: Building a specific target in XCode 4.5.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building a specific target in XCode 4.5.2?


  • Subject: Re: Building a specific target in XCode 4.5.2?
  • From: Chris Hanson <email@hidden>
  • Date: Mon, 05 Nov 2012 17:14:20 -0800

On Nov 4, 2012, at 3:35 PM, Nick Zitzmann <email@hidden> wrote:

Did you see the scheme pop-up button in the toolbar? That's where the target selector from 3.2.6 went.

That's not quite accurate; if you just mentally translate "this is where the Active Target pop-up went" you may mislead yourself.

The items in the Xcode 4 pop-up are called schemes. A scheme describes (1) what targets can be built (2) for what purposes, and how.

The first time it opens a project, Xcode will automatically create schemes for (most of) its targets and set up their various actions to use appropriate configurations. (e.g. Xcode will use the Debug configuration for the Run action, the Release configuration for the Profile and Archive actions, and so on.)

As for building some or all targets, there isn't such an option, but you can work around this by making an empty target that has the targets you want built as dependencies.

Better would be to create a new scheme and add the targets you want to build together to its "build" section. That way you can keep the number of targets in your project down to those that actually produce a product of some sort, and use a separate mechanism for aggregating the things you want to build all at once.

  -- Chris

 _______________________________________________
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: 
 >Building a specific target in XCode 4.5.2? (From: "Jason T. Slack-Moehrle" <email@hidden>)
 >Re: Building a specific target in XCode 4.5.2? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Linker error message ... IOS
  • Next by Date: Re: Xcode 4.5 + 10.5 SDK?
  • Previous by thread: Re: Building a specific target in XCode 4.5.2?
  • Next by thread: I want a spreadsheet of Target Memberships
  • Index(es):
    • Date
    • Thread