Repository: hackiftekhar/IQKeyboardManager

Issue #1592: Layout constraint problem, Xcode 11 and iOS 13
Created: 2019-09-03T22:04:02Z
Using the latest Xcode 11 beta and its' accompanying simulators (and a physical device) running iOS 13,  when trying to type in a UITextField, I get the following layout constraint error. This happens for any TextField on any of my views. I am using the latest version of IQKeyboardManager (6.4.1). I have never seen this before and I have been using the wonderful IQKeyboardManager for quite some time. I realize this is on beta software but just want to make sure this will not be an issue going forward as I've had iPhones (especially older ones) freeze up before in the wild because of layout constraint problems.
[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:0x6000004760d0 h=--& v=--& _UIToolbarContentView:0x7f8118925880.width == 0   (active)>",
"<NSLayoutConstraint:0x6000004ec550 H:|-(0)-[_UIButtonBarStackView:0x7f8118925d50]   (active, names: '|':_UIToolbarContentView:0x7f8118925880 )>",
"<NSLayoutConstraint:0x6000004eddb0 _UIButtonBarStackView:0x7f8118925d50.trailing == _UIToolbarContentView:0x7f8118925880.trailing   (active)>",
"<NSLayoutConstraint:0x60000045e170 'TB_Leading_Leading' H:|-(8)-[_UIModernBarButton:0x7f811875eef0'Done']   (active, names: '|':_UIButtonBarButton:0x7f811875eb90 )>",
"<NSLayoutConstraint:0x60000045e1c0 'TB_Trailing_Trailing' H:[_UIModernBarButton:0x7f811875eef0'Done']-(0)-|   (active, names: '|':_UIButtonBarButton:0x7f811875eb90 )>",
"<NSLayoutConstraint:0x6000004754a0 'UISV-canvas-connection' UILayoutGuide:0x600001eca5a0'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x7f811875d850.leading   (active)>",
"<NSLayoutConstraint:0x600000475540 'UISV-canvas-connection' UILayoutGuide:0x600001eca5a0'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x7f811875eb90.trailing   (active)>",
"<NSLayoutConstraint:0x6000004754f0 'UISV-spacing' H:[_UIButtonBarButton:0x7f811875d850]-(0)-[UIView:0x7f811875dfe0]   (active)>",
"<NSLayoutConstraint:0x600000475590 'UISV-spacing' H:[UIView:0x7f811875dfe0]-(0)-[_UIButtonBarButton:0x7f811875e140]   (active)>",
"<NSLayoutConstraint:0x6000004755e0 'UISV-spacing' H:[_UIButtonBarButton:0x7f811875e140]-(0)-[UIView:0x7f811875e8d0]   (active)>",
"<NSLayoutConstraint:0x600000475630 'UISV-spacing' H:[UIView:0x7f811875e8d0]-(0)-[UIView:0x7f811892cbe0]   (active)>",
"<NSLayoutConstraint:0x600000475680 'UISV-spacing' H:[UIView:0x7f811892cbe0]-(0)-[UIView:0x7f811875ea30]   (active)>",
"<NSLayoutConstraint:0x6000004756d0 'UISV-spacing' H:[UIView:0x7f811875ea30]-(0)-[_UIButtonBarButton:0x7f811875eb90]   (active)>",
"<NSLayoutConstraint:0x6000004d40a0 'UIView-leftMargin-guide-constraint' H:|-(0)-UILayoutGuide:0x600001eca5a0'UIViewLayoutMarginsGuide'   (active, names: '|':_UIButtonBarStackView:0x7f8118925d50 )>",
"<NSLayoutConstraint:0x6000004c87d0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x600001eca5a0'UIViewLayoutMarginsGuide']-(0)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x7f8118925d50 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60000045e1c0 'TB_Trailing_Trailing' H:[_UIModernBarButton:0x7f811875eef0'Done']-(0)-|   (active, names: '|':_UIButtonBarButton:0x7f811875eb90 )>
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.
2019-09-04 15:23:02.298774-0700 DevSwitcher[99909:4970416] [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:0x6000004760d0 h=--& v=--& _UIToolbarContentView:0x7f8118925880.width == 0   (active)>",
"<NSLayoutConstraint:0x6000004ec550 H:|-(0)-[_UIButtonBarStackView:0x7f8118925d50]   (active, names: '|':_UIToolbarContentView:0x7f8118925880 )>",
"<NSLayoutConstraint:0x6000004eddb0 _UIButtonBarStackView:0x7f8118925d50.trailing == _UIToolbarContentView:0x7f8118925880.trailing   (active)>",
"<NSLayoutConstraint:0x60000045d270 'IB_Leading_Leading' H:|-(0)-[_UIModernBarButton:0x7f811875da20]   (active, names: '|':_UIButtonBarButton:0x7f811875d850 )>",
"<NSLayoutConstraint:0x60000045d2c0 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x7f811875da20]-(>=8)-|   (active, names: '|':_UIButtonBarButton:0x7f811875d850 )>",
"<NSLayoutConstraint:0x6000004754a0 'UISV-canvas-connection' UILayoutGuide:0x600001eca5a0'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x7f811875d850.leading   (active)>",
"<NSLayoutConstraint:0x600000475540 'UISV-canvas-connection' UILayoutGuide:0x600001eca5a0'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x7f811875eb90.trailing   (active)>",
"<NSLayoutConstraint:0x6000004754f0 'UISV-spacing' H:[_UIButtonBarButton:0x7f811875d850]-(0)-[UIView:0x7f811875dfe0]   (active)>",
"<NSLayoutConstraint:0x600000475590 'UISV-spacing' H:[UIView:0x7f811875dfe0]-(0)-[_UIButtonBarButton:0x7f811875e140]   (active)>",
"<NSLayoutConstraint:0x6000004755e0 'UISV-spacing' H:[_UIButtonBarButton:0x7f811875e140]-(0)-[UIView:0x7f811875e8d0]   (active)>",
"<NSLayoutConstraint:0x600000475630 'UISV-spacing' H:[UIView:0x7f811875e8d0]-(0)-[UIView:0x7f811892cbe0]   (active)>",
"<NSLayoutConstraint:0x600000475680 'UISV-spacing' H:[UIView:0x7f811892cbe0]-(0)-[UIView:0x7f811875ea30]   (active)>",
"<NSLayoutConstraint:0x6000004756d0 'UISV-spacing' H:[UIView:0x7f811875ea30]-(0)-[_UIButtonBarButton:0x7f811875eb90]   (active)>",
"<NSLayoutConstraint:0x6000004d40a0 'UIView-leftMargin-guide-constraint' H:|-(0)-UILayoutGuide:0x600001eca5a0'UIViewLayoutMarginsGuide'   (active, names: '|':_UIButtonBarStackView:0x7f8118925d50 )>",
"<NSLayoutConstraint:0x6000004c87d0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x600001eca5a0'UIViewLayoutMarginsGuide']-(0)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x7f8118925d50 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60000045d2c0 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x7f811875da20]-(>=8)-|   (active, names: '|':_UIButtonBarButton:0x7f811875d850 )>
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.
2019-09-04 15:23:02.310129-0700 DevSwitcher[99909:4970416] [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:0x6000004760d0 h=--& v=--& _UIToolbarContentView:0x7f8118925880.width == 0   (active)>",
"<NSLayoutConstraint:0x6000004ec550 H:|-(0)-[_UIButtonBarStackView:0x7f8118925d50]   (active, names: '|':_UIToolbarContentView:0x7f8118925880 )>",
"<NSLayoutConstraint:0x6000004eddb0 _UIButtonBarStackView:0x7f8118925d50.trailing == _UIToolbarContentView:0x7f8118925880.trailing   (active)>",
"<NSLayoutConstraint:0x60000045d7c0 'IB_Leading_Leading' H:|-(>=5)-[_UIModernBarButton:0x7f811875e310]   (active, names: '|':_UIButtonBarButton:0x7f811875e140 )>",
"<NSLayoutConstraint:0x60000045d810 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x7f811875e310]-(>=5)-|   (active, names: '|':_UIButtonBarButton:0x7f811875e140 )>",
"<NSLayoutConstraint:0x6000004754a0 'UISV-canvas-connection' UILayoutGuide:0x600001eca5a0'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x7f811875d850.leading   (active)>",
"<NSLayoutConstraint:0x600000475540 'UISV-canvas-connection' UILayoutGuide:0x600001eca5a0'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x7f811875eb90.trailing   (active)>",
"<NSLayoutConstraint:0x6000004754f0 'UISV-spacing' H:[_UIButtonBarButton:0x7f811875d850]-(0)-[UIView:0x7f811875dfe0]   (active)>",
"<NSLayoutConstraint:0x600000475590 'UISV-spacing' H:[UIView:0x7f811875dfe0]-(0)-[_UIButtonBarButton:0x7f811875e140]   (active)>",
"<NSLayoutConstraint:0x6000004755e0 'UISV-spacing' H:[_UIButtonBarButton:0x7f811875e140]-(0)-[UIView:0x7f811875e8d0]   (active)>",
"<NSLayoutConstraint:0x600000475630 'UISV-spacing' H:[UIView:0x7f811875e8d0]-(0)-[UIView:0x7f811892cbe0]   (active)>",
"<NSLayoutConstraint:0x600000475680 'UISV-spacing' H:[UIView:0x7f811892cbe0]-(0)-[UIView:0x7f811875ea30]   (active)>",
"<NSLayoutConstraint:0x6000004756d0 'UISV-spacing' H:[UIView:0x7f811875ea30]-(0)-[_UIButtonBarButton:0x7f811875eb90]   (active)>",
"<NSLayoutConstraint:0x6000004d40a0 'UIView-leftMargin-guide-constraint' H:|-(0)-UILayoutGuide:0x600001eca5a0'UIViewLayoutMarginsGuide'   (active, names: '|':_UIButtonBarStackView:0x7f8118925d50 )>",
"<NSLayoutConstraint:0x6000004c87d0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x600001eca5a0'UIViewLayoutMarginsGuide']-(0)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x7f8118925d50 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60000045d810 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x7f811875e310]-(>=5)-|   (active, names: '|':_UIButtonBarButton:0x7f811875e140 )>
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.

Duplicate issue #1600:  Keyboard gets stuck in ios 13 simulator！
Created: 2019-09-23T03:45:25Z
Keyboard gets stuck in ios 13 simulator ，i cant edit my textfileds. what happend?

Closing comment (2019-09-25T14:34:19Z): This looks to be a duplicate of #1592 and already addressed. I'm not 100% sure that this issue is fixed, but most of them will not get these issues. New version v6.5.0 will release soon.