ibtool should allow treating warnings as errors
| Originator: | keithbsmiley | ||
| Number: | rdar://34099797 | Date Originated: | 26-Aug-2017 20:20 |
| Status: | Duplicate of 6660261 (open) | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 9 beta 6 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: Currently if a Interface Builder warning is introduced, there is no supported way to fail the build entirely. It would be useful if there was an Xcode build setting / ibtool flag for enabling this behavior, similar to `SWIFT_TREAT_WARNINGS_AS_ERRORS`. Steps to Reproduce: 1. Create a new project 2. Create a storyboard 3. In the storyboard add a label 4. Add constraints to the label such that the layout is ambiguous 5. Build Expected Results: There is some way to make the produced warning fail the build Actual Results: A warning is produced, but the build (or archive) succeeds Version: Xcode 9 beta 6 Notes: See the attached project for an example of an Interface Builder warning that would case a failure in this case
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!