Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running app after xcode build



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Running app after xcode build (From: "Carl Smith" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.