Dear All,
After upgrading to Xcode 8 I had a lot of issues, mainly because of the SourceKit. But I believe that Apple team will fix all of those. Today I've upgraded to macOS Sierra and now when I run my project a strange warning (or maybe error) appears:
2016-09-22 09:13:08.908603 ********************* [1469:92122] [Layout] Detected missing constraints for <private>. It cannot be placed because there are not enough constraints to fully define the size and origin. Add the missing constraints, or set translatesAutoresizingMaskIntoConstraints=YES and constraints will be generated for you. If this view is laid out manually on macOS 10.12 and later, you may choose to not call [super layout] from your override. Set a breakpoint on DETECTED_MISSING_CONSTRAINTS to debug. This error will only be logged once.
Any help on how to detect the object with the missing constraint or how to setup such breakpoint is much appreciated.
UPDATE:
It appear that the problem is related somehow to ... well ... bugs in autolayout implementation in 10.12. For example:
2016-10-04 13:20:16.182220 ************[64022:7194826]
[Layout] Detected missing constraints for <private>.
It cannot be placed because there are not enough constraints to fully define the size and origin.
Add the missing constraints, or set translatesAutoresizingMaskIntoConstraints=YES and constraints will be generated for you. If this view is laid out manually on macOS 10.12 and later, you may choose to not call [super layout] from your override. Set a breakpoint on DETECTED_MISSING_CONSTRAINTS to debug. This error will only be logged once.
(lldb) po $arg1
<NSSplitDividerView: 0x610000162e80>
The above is happening when collapsing a slit view item via a button.
UPDATE: 10.10.2016 An example can be downloaded from https://github.com/ivailon/test-12
It will be nice if someone can confirm it. It will save a lot of tension to all developers ;-)
I.