2024-06-08 12:35:26.541599+0800 ZGMailbox[12397:1003508] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x2802b65d0 _UIToolbarContentView:0x10312a3a0.width == 0>",
"<NSLayoutConstraint:0x2802c2350 _UIButtonBarStackView:0x10312ab40.leading == _UIToolbarContentView:0x10312a3a0.leading>",
"<NSLayoutConstraint:0x2802c23f0 _UIToolbarContentView:0x10312a3a0.trailing == _UIButtonBarStackView:0x10312ab40.trailing>",
"<NSLayoutConstraint:0x2802b52c0 _UIModernBarButton:0x10324b3a0.leading == _UIButtonBarButton:0x10324d380.leading>",
"<NSLayoutConstraint:0x2802b58b0 _UIModernBarButton:0x10324df30.leading == _UIButtonBarButton:0x10324dc30.leading + 8>",
"<NSLayoutConstraint:0x2802b5310 _UIButtonBarButton:0x10324d380.trailing == _UIModernBarButton:0x10324b3a0.trailing + 8>",
"<NSLayoutConstraint:0x2802b5900 _UIButtonBarButton:0x10324dc30.trailing == _UIModernBarButton:0x10324df30.trailing>",
"<NSLayoutConstraint:0x2802b5c70 UILayoutGuide:0x2818f4d20.leading == _UIButtonBarButton:0x10324d380.leading>",
"<NSLayoutConstraint:0x2802b5cc0 UILayoutGuide:0x2818f4d20.trailing == _UIButtonBarButton:0x10324dc30.trailing>",
"<NSLayoutConstraint:0x2802b5f90 UIView:0x10324dab0.leading == _UIButtonBarButton:0x10324d380.trailing>",
"<NSLayoutConstraint:0x2802b5fe0 _UIButtonBarButton:0x10324dc30.leading == UIView:0x10324dab0.trailing>",
"<NSLayoutConstraint:0x2802c1e00 UILayoutGuide:0x2818f4d20.left == _UIButtonBarStackView:0x10312ab40.left>",
"<NSLayoutConstraint:0x2802c1f40 _UIButtonBarStackView:0x10312ab40.right == UILayoutGuide:0x2818f4d20.right>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x2802b5310 _UIButtonBarButton:0x10324d380.trailing == _UIModernBarButton:0x10324b3a0.trailing + 8>
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.
2024-06-08 12:35:26.542421+0800 ZGMailbox[12397:1003508] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x2802b65d0 _UIToolbarContentView:0x10312a3a0.width == 0>",
"<NSLayoutConstraint:0x2802c2350 _UIButtonBarStackView:0x10312ab40.leading == _UIToolbarContentView:0x10312a3a0.leading>",
"<NSLayoutConstraint:0x2802c23f0 _UIToolbarContentView:0x10312a3a0.trailing == _UIButtonBarStackView:0x10312ab40.trailing>",
"<NSLayoutConstraint:0x2802b58b0 _UIModernBarButton:0x10324df30.leading == _UIButtonBarButton:0x10324dc30.leading + 8>",
"<NSLayoutConstraint:0x2802b5900 _UIButtonBarButton:0x10324dc30.trailing == _UIModernBarButton:0x10324df30.trailing>",
"<NSLayoutConstraint:0x2802b5c70 UILayoutGuide:0x2818f4d20.leading == _UIButtonBarButton:0x10324d380.leading>",
"<NSLayoutConstraint:0x2802b5cc0 UILayoutGuide:0x2818f4d20.trailing == _UIButtonBarButton:0x10324dc30.trailing>",
"<NSLayoutConstraint:0x2802b5f90 UIView:0x10324dab0.leading == _UIButtonBarButton:0x10324d380.trailing>",
"<NSLayoutConstraint:0x2802b5fe0 _UIButtonBarButton:0x10324dc30.leading == UIView:0x10324dab0.trailing>",
"<NSLayoutConstraint:0x2802c1e00 UILayoutGuide:0x2818f4d20.left == _UIButtonBarStackView:0x10312ab40.left>",
"<NSLayoutConstraint:0x2802c1f40 _UIButtonBarStackView:0x10312ab40.right == UILayoutGuide:0x2818f4d20.right>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x2802b5900 _UIButtonBarButton:0x10324dc30.trailing == _UIModernBarButton:0x10324df30.trailing>
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.
2024-06-08 12:35:26.543962+0800 ZGMailbox[12397:1003508] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x2802b6670 _UIToolbarContentView:0x10312a3a0.height == 0>",
"<NSLayoutConstraint:0x2802c23a0 _UIButtonBarStackView:0x10312ab40.top == _UIToolbarContentView:0x10312a3a0.top>",
"<NSLayoutConstraint:0x2802c2440 _UIButtonBarStackView:0x10312ab40.bottom == _UIToolbarContentView:0x10312a3a0.bottom>",
"<NSLayoutConstraint:0x2802b6850 UIButtonLabel:0x10324c480.centerY == _UIModernBarButton:0x10324b3a0.centerY + 1.5>",
"<NSLayoutConstraint:0x2802b54a0 _UIModernBarButton:0x10324b3a0.baseline == UILayoutGuide:0x2818f1dc0.bottom>",
"<NSLayoutConstraint:0x2802b54f0 _UIModernBarButton:0x10324b3a0.top >= _UIButtonBarButton:0x10324d380.top>",
"<NSLayoutConstraint:0x2802b5630 _UIButtonBarButton:0x10324d380.height == UILayoutGuide:0x2818f4d20.height>",
"<NSLayoutConstraint:0x2802c1ea0 _UIButtonBarStackView:0x10312ab40.bottom == UILayoutGuide:0x2818f4d20.bottom>",
"<NSLayoutConstraint:0x2802b5400 _UIButtonBarButton:0x10324d380.bottom == UILayoutGuide:0x2818f1dc0.bottom + 11>",
"<NSLayoutConstraint:0x2802c18b0 UILayoutGuide:0x2818f4d20.top == _UIButtonBarStackView:0x10312ab40.top>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x2802b6850 UIButtonLabel:0x10324c480.centerY == _UIModernBarButton:0x10324b3a0.centerY + 1.5>
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.
2024-06-08 12:35:26.545206+0800 ZGMailbox[12397:1003508] [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.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSAutoresizingMaskLayoutConstraint:0x2802b6670 _UIToolbarContentView:0x10312a3a0.height == 0>",
"<NSLayoutConstraint:0x2802c23a0 _UIButtonBarStackView:0x10312ab40.top == _UIToolbarContentView:0x10312a3a0.top>",
"<NSLayoutConstraint:0x2802c2440 _UIButtonBarStackView:0x10312ab40.bottom == _UIToolbarContentView:0x10312a3a0.bottom>",
"<NSLayoutConstraint:0x2802b6a80 UIButtonLabel:0x10324e820.centerY == _UIModernBarButton:0x10324df30.centerY + 1.5>",
"<NSLayoutConstraint:0x2802b5a90 _UIModernBarButton:0x10324df30.baseline == UILayoutGuide:0x2818f1ce0.bottom>",
"<NSLayoutConstraint:0x2802b5ae0 _UIModernBarButton:0x10324df30.top >= _UIButtonBarButton:0x10324dc30.top>",
"<NSLayoutConstraint:0x2802b5c20 _UIButtonBarButton:0x10324dc30.height == UILayoutGuide:0x2818f4d20.height>",
"<NSLayoutConstraint:0x2802c1ea0 _UIButtonBarStackView:0x10312ab40.bottom == UILayoutGuide:0x2818f4d20.bottom>",
"<NSLayoutConstraint:0x2802b59f0 _UIButtonBarButton:0x10324dc30.bottom == UILayoutGuide:0x2818f1ce0.bottom + 11>",
"<NSLayoutConstraint:0x2802c18b0 UILayoutGuide:0x2818f4d20.top == _UIButtonBarStackView:0x10312ab40.top>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x2802b6a80 UIButtonLabel:0x10324e820.centerY == _UIModernBarButton:0x10324df30.centerY + 1.5>
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.
Message from debugger: killedåå
真机登录后闪退,提示自适应UI问题,
模拟器IPhone15Pro正常。
找了一下GPT4o ,作者知道怎样改吗? 谢谢!