How To Abort the Run Build Scheme from a Pre-Action Script
How To Abort the Run Build Scheme from a Pre-Action Script
- Subject: How To Abort the Run Build Scheme from a Pre-Action Script
- From: Andreas Grosam <email@hidden>
- Date: Sat, 04 May 2013 10:03:23 +0200
I've defined a script as a Pre-action of a Run Build Scheme which performs a few assertions from the environment and also may start a web service. When it fails, it should abort the Run Scheme. How can I accomplish this?
For example:
#!/bin/bash
if [[ -z ${SRCROOT} ]]; then echo "Error: no build settings defined" exit -1 ; #abort the parent process? fi
A related question is, how one could view the output from the script in Xcode's issues list.
Thanks in advance for a solution!
Andreas |
_______________________________________________
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