Open
Description
Here is the error message
2023-05-31 14:24:15.974914+0900 -----[34894:395583] [LayoutConstraints] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<ChannelIOFront.LayoutConstraint:[email protected]#134 ChannelIOFront.CHView:0x157582850.height == 52.0>",
"<ChannelIOFront.LayoutConstraint:[email protected]#129 ChannelIOFront.CHStackView:0x157584760.top == ChannelIOFront.LoungeHeaderView:0x1575825e0.top + 4.0>",
"<ChannelIOFront.LayoutConstraint:[email protected]#130 ChannelIOFront.CHStackView:0x157584760.bottom == ChannelIOFront.LoungeHeaderView:0x1575825e0.bottom>",
"<NSLayoutConstraint:0x600001581d60 'UISV-canvas-connection' ChannelIOFront.CHStackView:0x157584760.top == ChannelIOFront.CHView:0x157582850.top (active)>",
"<NSLayoutConstraint:0x600001581f40 'UISV-canvas-connection' V:[ChannelIOFront.CHView:0x157582850]-(0)-| (active, names: '|':ChannelIOFront.CHStackView:0x157584760 )>",
"<NSLayoutConstraint:0x60000158d040 'UISV-canvas-connection' ChannelIOFront.CHStackView:0x1575823d0.top == ChannelIOFront.LoungeHeaderView:0x1575825e0.top (active)>",
"<NSLayoutConstraint:0x60000158d090 'UISV-canvas-connection' V:[ChannelIOFront.LoungeHeaderView:0x1575825e0]-(0)-| (active, names: '|':ChannelIOFront.CHStackView:0x1575823d0 )>",
"<NSLayoutConstraint:0x60000158cf50 'UIView-Encapsulated-Layout-Height' ChannelIOFront.CHStackView:0x1575823d0.height == 852 (active)>"
)
Will attempt to recover by breaking constraint
<ChannelIOFront.LayoutConstraint:[email protected]#134 ChannelIOFront.CHView:0x157582850.height == 52.0>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
Metadata
Assignees
Labels
No labels