Scheme Pre-actions cannot cancel build
Originator: | dpolasch | ||
Number: | rdar://22502209 | Date Originated: | Mon, 31 Aug 2015 18:02:36 GMT |
Status: | Open | Resolved: | |
Product: | Xcode | Product Version: | 6.4 |
Classification: | Serious Bug | Reproducible: | Always |
* SUMMARY Scheme Pre-actions cannot cancel build * STEPS TO REPRODUCE 1. Open an Xcode scheme 2. Add a pre-action to the build action within the scheme which attempts to cancel the build (for example because some pre-condition has not been met) using exit 1 (or any non-zero error code) * RESULTS Xcode continues merrily along its way with the build. * REGRESSION Doesn't work back to Xcode 4. Can't test farther back than that. * NOTES It *IS* possible to "cancel" the build using "kill -HUP $PPID" but that's not exactly a smooth user-experience.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Duplicate of 9139716 which is still Analyze.