Xcode doesn't show IB warnings at build time

Originator:antonio.malara
Number:rdar://24228849 Date Originated:
Status:open Resolved:
Product:xcode Product Version:Version 7.2 (7C68)
Classification:data loss Reproducible:always
 
Summary:
opening a xib file in the xcode/interfacebuilder editor will produce warnings that are **not** produced during a regular build of the application.

this is marked as "data loss" because as a user i don't see the warnings i asked xcode to produce. we use continuous integration to find and fix all warnings, but now i cannot fully trust this workflow.

Steps to Reproduce:
1. create an application that uses a xib file
2. create a situation that emit a warning: different frames for autolayout constraints, ambiguous layouts, etc..
3. note the issues in the xcode ui.
4. close the xib file from the file menu
5. clean the project with cmd-K
6. build the project with cmd-B or run it with cmd-R

Expected Results:
IB warnings are shown as issues, and the build acts accordingly to "treat warning as errors" and/or "continue building if failures"

Actual Results:
the IB warnings are lost, and we ended up shipping a sub-par application to our customers, because xcode lied to us

Version:
osx: 10.10.5 (14F27)
xcode: Version 7.2 (7C68)

Notes:


Configuration:
n/a

Attachments:

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!