• 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: Creating multiple targets in Xcode 5?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating multiple targets in Xcode 5?


  • Subject: Re: Creating multiple targets in Xcode 5?
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 20 Dec 2013 13:52:53 -0800

On Dec 20, 2013, at 12:56 , Carl Hoefs <email@hidden> wrote:

I have an Xcode 5 project that needs to create similar versions of the same Foundation tool (OS X 10.8.5) from the same code base.  I just need a DEFINE set differently, and a different binary file generated.  What is the procedure for creating multiple targets (products?) in Xcode 5?  It must be so obvious that they didn't think it necessary to document it...

It’s *pretty* obvious. Click on the project entry in the left pane, then select your existing target in the list in the editing pane. Use Command-D or right-click to Duplicate the target.

In the new target, choose the Build Settings tab, and scroll down until you find the Preprocessor Macros section (or use the search file to find it faster). If you can, use the  “Preprocessor Macros Not Used in Precompiled Headers” setting, to maximize PCH sharing. Create a new setting for your new target, and enter something of the form MacroName=value.

 _______________________________________________
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: Creating multiple targets in Xcode 5?
      • From: Carl Hoefs <email@hidden>
References: 
 >Creating multiple targets in Xcode 5? (From: Carl Hoefs <email@hidden>)

  • Prev by Date: Creating multiple targets in Xcode 5?
  • Next by Date: Re: Creating multiple targets in Xcode 5?
  • Previous by thread: Creating multiple targets in Xcode 5?
  • Next by thread: Re: Creating multiple targets in Xcode 5?
  • Index(es):
    • Date
    • Thread