• 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: "Run" runs the app in the wrong target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Run" runs the app in the wrong target


  • Subject: Re: "Run" runs the app in the wrong target
  • From: Ken Thomases <email@hidden>
  • Date: Wed, 27 Aug 2008 12:11:56 -0500

On Aug 27, 2008, at 11:35 AM, Andy Lee wrote:

I wanted Xcode to build two versions of the same app -- let's call them AppOne and AppTwo -- that differ only by an #ifdef in a few places in my code. So I duplicated the target for AppOne and tweaked some settings in the duplicate target, which I renamed AppTwo. (I also created an aggregate target that has AppOne and AppTwo as dependencies, but I don't think that's relevant to my question.)

This seems like the sort of thing more easily handled by creating a new build configuration.



If I select AppTwo as the active target and say Build, it gets built as I would expect, with the name AppTwo.app. But when I say Run, Xcode launches AppOne (or if AppOne hasn't been built, the Run command is not available).

My question is: how do I tell Xcode to run AppTwo and not AppOne when the AppTwo target is active?

Project > Set Active Executable

Cheers,
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


  • Follow-Ups:
    • Re: "Run" runs the app in the wrong target
      • From: Andy Lee <email@hidden>
References: 
 >"Run" runs the app in the wrong target (From: Andy Lee <email@hidden>)

  • Prev by Date: "Run" runs the app in the wrong target
  • Next by Date: Re: "Run" runs the app in the wrong target
  • Previous by thread: "Run" runs the app in the wrong target
  • Next by thread: Re: "Run" runs the app in the wrong target
  • Index(es):
    • Date
    • Thread