• 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: How to make Xcode launch a different app when "Running" my code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make Xcode launch a different app when "Running" my code?


  • Subject: Re: How to make Xcode launch a different app when "Running" my code?
  • From: Uli Kusterer <email@hidden>
  • Date: Sun, 18 Sep 2016 15:54:43 +0200

On 18 Sep 2016, at 12:02, Gabriel Zachmann <email@hidden> wrote:
> When I "Run" my code in Xcode (i.e., hit CMD-R), I would like Xcode to build the code, copy the product to its destination,
> and then run a *different* application, not the product it has built.
> (all on macOS, not iOS)

 Sure! Pick "Edit Scheme..." from the target selection popup in your Xcode window's toolbar. There, select the "Run" entry on the left. In the "Info" tab, you can set the executable to run to any executable in your project, or another arbitrary one.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://stacksmith.org





_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: How to make Xcode launch a different app when "Running" my code?
      • From: Alastair Houghton <email@hidden>
References: 
 >How to make Xcode launch a different app when "Running" my code? (From: Gabriel Zachmann <email@hidden>)

  • Prev by Date: Re: How to make Xcode launch a different app when "Running" my code?
  • Next by Date: Re: Strange toolbar item error
  • Previous by thread: Re: loadNibNamed deprecated, but newer version crashes
  • Next by thread: Re: How to make Xcode launch a different app when "Running" my code?
  • Index(es):
    • Date
    • Thread