• 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: Running app after xcode build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running app after xcode build


  • Subject: Re: Running app after xcode build
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 30 Aug 2006 09:18:13 -0700

On Aug 30, 2006, at 8:46 AM, Carl Smith wrote:

Does anyone know if there is a way to run a separate application after an xcode build? I want to run an integrity test application on the finalized result of my xcode project but I would like to set up some automation so it will do the required run after the xcode has finished compiling.


There are two ways to do this:

1) Add a Run Script target to your project, whose script invokes the integrity test application.  Then make the main target of your project an Aggregate target that first builds the app, then "builds" the Run Script target that runs the tests.  This is essentially how built-in Unit Testing works in Xcode.

2) Just write a script that wraps xcodebuild and follows it with your test, and invoke that from the command line.

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: 
 >Running app after xcode build (From: "Carl Smith" <email@hidden>)

  • Prev by Date: Running app after xcode build
  • Next by Date: Re: Running app after xcode build
  • Previous by thread: Running app after xcode build
  • Next by thread: Re: Running app after xcode build
  • Index(es):
    • Date
    • Thread