• 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: "Pascal J. Bourguignon" <email@hidden>
  • Date: Sun, 18 Sep 2016 15:32:45 +0200

You could try  adding a run shell script phase at the end of the compilation to substitute the executable.

--
__Pascal Bourguignon__

> 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)
>
> Does anyone know how that is possible?
>
> I haven't found it in Xcode's documentation, and couldn't find a hint with Google.
> I am using Xcode 7.3.1.
>
> Thanks a lot in advance.
>
> Best regards,
> Gabriel.
>
>
>
>
>
> _______________________________________________
>
> 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


_______________________________________________

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:
    • loadNibNamed deprecated, but newer version crashes
      • From: Gabriel Zachmann <email@hidden>
References: 
 >How to make Xcode launch a different app when "Running" my code? (From: Gabriel Zachmann <email@hidden>)

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