• 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
Testing for Build Success?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Testing for Build Success?


  • Subject: Testing for Build Success?
  • From: Riehm Stephen <email@hidden>
  • Date: Tue, 24 Jun 2008 16:58:39 +0200

Hi,

is it possible for a script build-phase to determine if the previous build steps were successful?

Essentially I want my build process to look something like this:

	1: build / link app
	2: if there were errors - bail out
	3: commit all open changes into the SCM system
	4: run regression tests
	5: increment build number if regression tests passed

The only problem I have is that all of the build phases run even if previous phases failed.

I thought of checking the timestamp of the target executable, but which environment variables would be the right ones to use?
Or is there an environment variable for the error log?
There's also the "only run script when installing" checkbox in the script-build-phase panel, but I haven't been able to work out what that actually means (ie: debug and release targets and build-styles are predefined, but no mention of "install")


Thanks,

Steve

_______________________________________________
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


  • Prev by Date: Re: sizeof float in Xcode debugger
  • Next by Date: Re: sizeof float in Xcode debugger
  • Previous by thread: Re: IB Simulator gives error message: Unknown class `MyController' in nib file, using `NSObject' instead
  • Next by thread: Project templates
  • Index(es):
    • Date
    • Thread