xcode 8 检测到缺少约束
xcode 8 Detected missing constraints
每次启动 macOS 应用程序时,我都会收到此消息:
2017-05-29 09:55:02.232005+0200 App[14423:1257408] [Layout] Detected
missing constraints for <_NSSplitViewItemViewWrapper: 0x6080001a1c00>.
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.
我该如何解决这个问题?
在 DETECTED_MISSING_CONSTRAINTS
上设置断点以进行调试。
每次启动 macOS 应用程序时,我都会收到此消息:
2017-05-29 09:55:02.232005+0200 App[14423:1257408] [Layout] Detected missing constraints for <_NSSplitViewItemViewWrapper: 0x6080001a1c00>. 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.
我该如何解决这个问题?
在 DETECTED_MISSING_CONSTRAINTS
上设置断点以进行调试。