Describe the bug
2020-05-06 15:33:02.614615-0700 Example[76596:9645494] [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:0x600000c318b0 h=--& v=--& _UIToolbarContentView:0x7fb4ede2f400.height == 0 (active)>",
"<NSLayoutConstraint:0x600000cf37f0 V:|-(0)-[_UIButtonBarStackView:0x7fb4ede343e0] (active, names: '|':_UIToolbarContentView:0x7fb4ede2f400 )>",
"<NSLayoutConstraint:0x600000cf3840 _UIButtonBarStackView:0x7fb4ede343e0.bottom == _UIToolbarContentView:0x7fb4ede2f400.bottom (active)>",
"<NSLayoutConstraint:0x600000c319a0 UIButtonLabel:0x7fb4f5a05f80'Done'.centerY == _UIModernBarButton:0x7fb4f5a04780'Done'.centerY + 0.5 (active)>",
"<NSLayoutConstraint:0x600000c30ff0 'TB_Baseline_Baseline' _UIModernBarButton:0x7fb4f5a04780'Done'.lastBaseline == UILayoutGuide:0x600001629500'UIViewLayoutMarginsGuide'.bottom (active)>",
"<NSLayoutConstraint:0x600000c31040 'TB_Top_Top' V:|-(>=0)-[_UIModernBarButton:0x7fb4f5a04780'Done'] (active, names: '|':_UIButtonBarButton:0x7fb4edcff630 )>",
"<NSLayoutConstraint:0x600000c311d0 'UIButtonBar.maximumAlignmentSize' _UIButtonBarButton:0x7fb4edcff630.height == UILayoutGuide:0x6000016b6920'UIViewLayoutMarginsGuide'.height (active)>",
"<NSLayoutConstraint:0x600000cf3610 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x6000016b6920'UIViewLayoutMarginsGuide']-(0)-| (active, names: '|':_UIButtonBarStackView:0x7fb4ede343e0 )>",
"<NSLayoutConstraint:0x600000c30f50 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600001629500'UIViewLayoutMarginsGuide']-(16)-| (active, names: '|':_UIButtonBarButton:0x7fb4edcff630 )>",
"<NSLayoutConstraint:0x600000cf3570 'UIView-topMargin-guide-constraint' V:|-(0)-[UILayoutGuide:0x6000016b6920'UIViewLayoutMarginsGuide'] (active, names: '|':_UIButtonBarStackView:0x7fb4ede343e0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000c319a0 UIButtonLabel:0x7fb4f5a05f80'Done'.centerY == _UIModernBarButton:0x7fb4f5a04780'Done'.centerY + 0.5 (active)>
To Reproduce
Steps to reproduce the behavior:
Example project with cocoapods
Tap on flag in StackViewController
Look at debug console
Expected behavior
There should be no constraints errror in console
Smartphone (please complete the following information):
iPhone 11 iOS 13.4
FlagPhoneNumber (please complete the following information):
Version 0.8.0
Describe the bug 2020-05-06 15:33:02.614615-0700 Example[76596:9645494] [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:0x600000c318b0 h=--& v=--& _UIToolbarContentView:0x7fb4ede2f400.height == 0 (active)>", "<NSLayoutConstraint:0x600000cf37f0 V:|-(0)-[_UIButtonBarStackView:0x7fb4ede343e0] (active, names: '|':_UIToolbarContentView:0x7fb4ede2f400 )>", "<NSLayoutConstraint:0x600000cf3840 _UIButtonBarStackView:0x7fb4ede343e0.bottom == _UIToolbarContentView:0x7fb4ede2f400.bottom (active)>", "<NSLayoutConstraint:0x600000c319a0 UIButtonLabel:0x7fb4f5a05f80'Done'.centerY == _UIModernBarButton:0x7fb4f5a04780'Done'.centerY + 0.5 (active)>", "<NSLayoutConstraint:0x600000c30ff0 'TB_Baseline_Baseline' _UIModernBarButton:0x7fb4f5a04780'Done'.lastBaseline == UILayoutGuide:0x600001629500'UIViewLayoutMarginsGuide'.bottom (active)>", "<NSLayoutConstraint:0x600000c31040 'TB_Top_Top' V:|-(>=0)-[_UIModernBarButton:0x7fb4f5a04780'Done'] (active, names: '|':_UIButtonBarButton:0x7fb4edcff630 )>", "<NSLayoutConstraint:0x600000c311d0 'UIButtonBar.maximumAlignmentSize' _UIButtonBarButton:0x7fb4edcff630.height == UILayoutGuide:0x6000016b6920'UIViewLayoutMarginsGuide'.height (active)>", "<NSLayoutConstraint:0x600000cf3610 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x6000016b6920'UIViewLayoutMarginsGuide']-(0)-| (active, names: '|':_UIButtonBarStackView:0x7fb4ede343e0 )>", "<NSLayoutConstraint:0x600000c30f50 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x600001629500'UIViewLayoutMarginsGuide']-(16)-| (active, names: '|':_UIButtonBarButton:0x7fb4edcff630 )>", "<NSLayoutConstraint:0x600000cf3570 'UIView-topMargin-guide-constraint' V:|-(0)-[UILayoutGuide:0x6000016b6920'UIViewLayoutMarginsGuide'] (active, names: '|':_UIButtonBarStackView:0x7fb4ede343e0 )>" )
Will attempt to recover by breaking constraint <NSLayoutConstraint:0x600000c319a0 UIButtonLabel:0x7fb4f5a05f80'Done'.centerY == _UIModernBarButton:0x7fb4f5a04780'Done'.centerY + 0.5 (active)>
To Reproduce Steps to reproduce the behavior:
Expected behavior There should be no constraints errror in console Smartphone (please complete the following information): iPhone 11 iOS 13.4
FlagPhoneNumber (please complete the following information): Version 0.8.0