Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crash when back quote with wireless keyboard #898

Open
ThomasAtome opened this issue Sep 12, 2017 · 0 comments
Open

App crash when back quote with wireless keyboard #898

ThomasAtome opened this issue Sep 12, 2017 · 0 comments
Assignees

Comments

@ThomasAtome
Copy link
Contributor

ThomasAtome commented Sep 12, 2017

Hi,

My app crash when I write a back quote or a ^ char in a textarea with a wireless keyboard. If I do the same with the native keyboard the app doesn't crash.

It only crash on iOS 10.3, not on 11 beta or 9.

I add some logs when I press the back quote button.

Sep 12 12:10:00 iPad rhorunner(UIKit)[1108] <Error>: 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. 
(
    "<NSLayoutConstraint:0x17009cc00 _UIButtonBarStackView:0x12fa099d0.width <= 178   (active)>",
    "<NSLayoutConstraint:0x17028db60 _UIUCBKBSelectionBackground:0x12fa42c60.width >= 34   (active)>",
    "<NSLayoutConstraint:0x17028d9d0 H:|-(0)-[_UIUCBKBSelectionBackground:0x12fa42c60]   (active, names: '|':_UIButtonBarButton:0x12fa425c0 )>",
    "<NSLayoutConstraint:0x17028da70 _UIUCBKBSelectionBackground:0x12fa42c60.trailing == _UIButtonBarButton:0x12fa425c0.trailing   (active)>",
    "<NSLayoutConstraint:0x170287760 _UIUCBKBSelectionBackground:0x12fa49fe0.width >= 34   (active)>",
    "<NSLayoutConstraint:0x1702878f0 H:|-(0)-[_UIUCBKBSelectionBackground:0x12fa49fe0]   (active, names: '|':_UIButtonBarButton:0x12fa39790 )>",
    "<NSLayoutConstraint:0x170287850 _UIUCBKBSelectionBackground:0x12fa49fe0.trailing == _UIButtonBarButton:0x12fa39790.trailing   (active)>",
    "<NSLayoutConstraint:0x170287cb0 _UIUCBKBSelectionBackground:0x12fa4d000.width >= 34   (active)>",
    "<NSLayoutConstraint:0x170287e40 H:|-(0)-[_UIUCBKBSelectionBackground:0x12fa4d000]   (active, names: '|':_UIButtonBarButton:0x12fa4a330 )>",
    "<NSLayoutConstraint:0x170287da0 _UIUCBKBSelectionBackground:0x12fa4d000.trailing == _UIButtonBarButton:0x12fa4a330.trailing   (active)>",
    "<NSLayoutConstraint:0x1702904f0 _UIUCBKBSelectionBackground:0x12fa55b50.width >= 34   (active)>",
    "<NSLayoutConstraint:0x170290360 H:|-(0)-[_UIUCBKBSelectionBackground:0x12fa55b50]   (active, names: '|':_UIButtonBarButton:0x12fa554b0 )>",
    "<NSLayoutConstraint:0x170290400 _UIUCBKBSelectionBackground:0x12fa55b50.trailing == _UIButtonBarButton:0x12fa554b0.trailing   (active)>",
    "<NSLayoutConstraint:0x170290c20 _UIUCBKBSelectionBackground:0x12fa56740.width >= 34   (active)>",
    "<NSLayoutConstraint:0x170290a90 H:|-(0)-[_UIUCBKBSelectionBackground:0x12fa56740]   (active, names: '|':_UIButtonBarButton:0x12fa55ea0 )>",
    "<NSLayoutConstraint:0x170290b30 _UIUCBKBSelectionBackground:0x12fa56740.trailing == _UIButtonBarButton:0x12fa55ea0.trailing   (active)>",
    "<NSLayoutConstraint:0x170291350 _UIUCBKBSelectionBackground:0x12fa57130.width >= 34   (active)>",
    "<NSLayoutConstraint:0x1702911c0 H:|-(0)-[_UIUCBKBSelectionBackground:0x12fa57130]   (active, names: '|':_UIButtonBarButton:0x12fa56a90 )>",
    "<NSLayoutConstraint:0x170291260 _UIUCBKBSelectionBackground:0x12fa57130.trailing == _UIButtonBarButton:0x12fa56a90.trailing   (active)>",
    "<NSLayoutConstraint:0x174283250 'UISV-canvas-connection' UILayoutGuide:0x170193180'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x12fa425c0.trailing   (active)>",
    "<NSLayoutConstraint:0x170288110 'UISV-canvas-connection' UILayoutGuide:0x170193180'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x12fa554b0.leading   (active)>",
    "<NSLayoutConstraint:0x1742832a0 'UISV-spacing' H:[UIImageView:0x12fa0a250]-(0)-[UIView:0x12fa42420]   (active)>",
    "<NSLayoutConstraint:0x1742832f0 'UISV-spacing' H:[UIView:0x12fa42420]-(0)-[_UIButtonBarButton:0x12fa425c0]   (active)>",
    "<NSLayoutConstraint:0x17028e010 'UISV-spacing' H:[_UIButtonBarButton:0x12fa39790]-(0)-[UIView:0x12fa4a190]   (active)>",
    "<NSLayoutConstraint:0x170288700 'UISV-spacing' H:[UIView:0x12fa4a190]-(0)-[_UIButtonBarButton:0x12fa4a330]   (active)>",
    "<NSLayoutConstraint:0x1740912b0 'UISV-spacing' H:[_UIButtonBarButton:0x12fa554b0]-(0)-[UIView:0x12fa55d00]   (active)>",
    "<NSLayoutConstraint:0x17409c4d0 'UISV-spacing' H:[UIView:0x12fa55d00]-(0)-[_UIButtonBarButton:0x12fa55ea0]   (active)>",
    "<NSLayoutConstraint:0x174284920 'UISV-spacing' H:[_UIButtonBarButton:0x12fa55ea0]-(0)-[UIView:0x12fa568f0]   (active)>",
    "<NSLayoutConstraint:0x17409f1d0 'UISV-spacing' H:[UIView:0x12fa568f0]-(0)-[_UIButtonBarButton:0x12fa56a90]   (active)>",
    "<NSLayoutConstraint:0x174285870 'UISV-spacing' H:[_UIButtonBarButton:0x12fa56a90]-(0)-[UIView:0x12fa572e0]   (active)>",
    "<NSLayoutConstraint:0x174285640 'UISV-spacing' H:[UIView:0x12fa572e0]-(0)-[_UIButtonBarButton:0x12fa39790]   (active)>",
    "<NSLayoutConstraint:0x174283840 'UISV-spacing' H:[_UIButtonBarButton:0x12fa4a330]-(0)-[UIView:0x12fa575d0]   (active)>",
    "<NSLayoutConstraint:0x174285230 'UISV-spacing' H:[UIView:0x12fa575d0]-(0)-[UIImageView:0x12fa0a250]   (active)>",
    "<NSLayoutConstraint:0x17009c520 'UIView-leftMargin-guide-constraint' H:|-(15)-[UILayoutGuide:0x170193180'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UIButtonBarStackView:0x12fa099d0 )>",
    "<NSLayoutConstraint:0x17009c5c0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x170193180'UIViewLayoutMarginsGuide']-(15)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x12fa099d0 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x170291350 _UIUCBKBSelectionBackground:0x12fa57130.width >= 34   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
Sep 12 12:10:00 iPad rhorunner(UIKit)[1108] <Error>: 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. 
(
    "<NSLayoutConstraint:0x17009cc00 _UIButtonBarStackView:0x12fa099d0.width <= 178   (active)>",
    "<NSLayoutConstraint:0x17028db60 _UIUCBKBSelectionBackground:0x12fa42c60.width >= 34   (active)>",
    "<NSLayoutConstraint:0x17028d9d0 H:|-(0)-[_UIUCBKBSelectionBackground:0x12fa42c60]   (active, names: '|':_UIButtonBarButton:0x12fa425c0 )>",
    "<NSLayoutConstraint:0x17028da70 _UIUCBKBSelectionBackground:0x12fa42c60.trailing == _UIButtonBarButton:0x12fa425c0.trailing   (active)>",
    "<NSLayoutConstraint:0x170287760 _UIUCBKBSelectionBackground:0x12fa49fe0.width >= 34   (active)>",
    "<NSLayoutConstraint:0x1702878f0 H:|-(0)-[_UIUCBKBSelectionBackground:0x12fa49fe0]   (active, names: '|':_UIButtonBarButton:0x12fa39790 )>",
    "<NSLayoutConstraint:0x170287850 _UIUCBKBSelectionBackground:0x12fa49fe0.trailing == _UIButtonBarButton:0x12fa39790.trailing   (active)>",
    "<NSLayoutConstraint:0x170287cb0 _UIUCBKBSelectionBackground:0x12fa4d000.width >= 34   (active)>",
    "<NSLayoutConstraint:0x170287e40 H:|-(0)-[_UIUCBKBSelectionBackground:0x12fa4d000]   (active, names: '|':_UIButtonBarButton:0x12fa4a330 )>",
    "<NSLayoutConstraint:0x170287da0 _UIUCBKBSelectionBackground:0x12fa4d000.trailing == _UIButtonBarButton:0x12fa4a330.trailing   (active)>",
    "<NSLayoutConstraint:0x1702904f0 _UIUCBKBSelectionBackground:0x12fa55b50.width >= 34   (active)>",
    "<NSLayoutConstraint:0x170290360 H:|-(0)-[_UIUCBKBSelectionBackground:0x12fa55b50]   (active, names: '|':_UIButtonBarButton:0x12fa554b0 )>",
    "<NSLayoutConstraint:0x170290400 _UIUCBKBSelectionBackground:0x12fa55b50.trailing == _UIButtonBarButton:0x12fa554b0.trailing   (active)>",
    "<NSLayoutConstraint:0x170290c20 _UIUCBKBSelectionBackground:0x12fa56740.width >= 34   (active)>",
    "<NSLayoutConstraint:0x170290a90 H:|-(0)-[_UIUCBKBSelectionBackground:0x12fa56740]   (active, names: '|':_UIButtonBarButton:0x12fa55ea0 )>",
    "<NSLayoutConstraint:0x170290b30 _UIUCBKBSelectionBackground:0x12fa56740.trailing == _UIButtonBarButton:0x12fa55ea0.trailing   (active)>",
    "<NSLayoutConstraint:0x170290fe0 H:|-(6)-[UIButton:0x12fa56c70]   (active, names: '|':_UIButtonBarButton:0x12fa56a90 )>",
    "<NSLayoutConstraint:0x170291030 UIButton:0x12fa56c70.trailing == _UIButtonBarButton:0x12fa56a90.trailing - 6   (active)>",
    "<NSLayoutConstraint:0x174283250 'UISV-canvas-connection' UILayoutGuide:0x170193180'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x12fa425c0.trailing   (active)>",
    "<NSLayoutConstraint:0x170288110 'UISV-canvas-connection' UILayoutGuide:0x170193180'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x12fa554b0.leading   (active)>",
    "<NSLayoutConstraint:0x1742832a0 'UISV-spacing' H:[UIImageView:0x12fa0a250]-(0)-[UIView:0x12fa42420]   (active)>",
    "<NSLayoutConstraint:0x1742832f0 'UISV-spacing' H:[UIView:0x12fa42420]-(0)-[_UIButtonBarButton:0x12fa425c0]   (active)>",
    "<NSLayoutConstraint:0x17028e010 'UISV-spacing' H:[_UIButtonBarButton:0x12fa39790]-(0)-[UIView:0x12fa4a190]   (active)>",
    "<NSLayoutConstraint:0x170288700 'UISV-spacing' H:[UIView:0x12fa4a190]-(0)-[_UIButtonBarButton:0x12fa4a330]   (active)>",
    "<NSLayoutConstraint:0x1740912b0 'UISV-spacing' H:[_UIButtonBarButton:0x12fa554b0]-(0)-[UIView:0x12fa55d00]   (active)>",
    "<NSLayoutConstraint:0x17409c4d0 'UISV-spacing' H:[UIView:0x12fa55d00]-(0)-[_UIButtonBarButton:0x12fa55ea0]   (active)>",
    "<NSLayoutConstraint:0x174284920 'UISV-spacing' H:[_UIButtonBarButton:0x12fa55ea0]-(0)-[UIView:0x12fa568f0]   (active)>",
    "<NSLayoutConstraint:0x17409f1d0 'UISV-spacing' H:[UIView:0x12fa568f0]-(0)-[_UIButtonBarButton:0x12fa56a90]   (active)>",
    "<NSLayoutConstraint:0x174285870 'UISV-spacing' H:[_UIButtonBarButton:0x12fa56a90]-(0)-[UIView:0x12fa572e0]   (active)>",
    "<NSLayoutConstraint:0x174285640 'UISV-spacing' H:[UIView:0x12fa572e0]-(0)-[_UIButtonBarButton:0x12fa39790]   (active)>",
    "<NSLayoutConstraint:0x174283840 'UISV-spacing' H:[_UIButtonBarButton:0x12fa4a330]-(0)-[UIView:0x12fa575d0]   (active)>",
    "<NSLayoutConstraint:0x174285230 'UISV-spacing' H:[UIView:0x12fa575d0]-(0)-[UIImageView:0x12fa0a250]   (active)>",
    "<NSLayoutConstraint:0x17009c520 'UIView-leftMargin-guide-constraint' H:|-(15)-[UILayoutGuide:0x170193180'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UIButtonBarStackView:0x12fa099d0 )>",
    "<NSLayoutConstraint:0x17009c5c0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x170193180'UIViewLayoutMarginsGuide']-(15)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x12fa099d0 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x170290c20 _UIUCBKBSelectionBackground:0x12fa56740.width >= 34   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
Sep 12 12:10:00 iPad rhorunner(UIKit)[1108] <Error>: 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. 
(
    "<NSLayoutConstraint:0x17009cc00 _UIButtonBarStackView:0x12fa099d0.width <= 178   (active)>",
    "<NSLayoutConstraint:0x17028db60 _UIUCBKBSelectionBackground:0x12fa42c60.width >= 34   (active)>",
    "<NSLayoutConstraint:0x17028d9d0 H:|-(0)-[_UIUCBKBSelectionBackground:0x12fa42c60]   (active, names: '|':_UIButtonBarButton:0x12fa425c0 )>",
    "<NSLayoutConstraint:0x17028da70 _UIUCBKBSelectionBackground:0x12fa42c60.trailing == _UIButtonBarButton:0x12fa425c0.trailing   (active)>",
    "<NSLayoutConstraint:0x170287760 _UIUCBKBSelectionBackground:0x12fa49fe0.width >= 34   (active)>",
    "<NSLayoutConstraint:0x1702878f0 H:|-(0)-[_UIUCBKBSelectionBackground:0x12fa49fe0]   (active, names: '|':_UIButtonBarButton:0x12fa39790 )>",
    "<NSLayoutConstraint:0x170287850 _UIUCBKBSelectionBackground:0x12fa49fe0.trailing == _UIButtonBarButton:0x12fa39790.trailing   (active)>",
    "<NSLayoutConstraint:0x170287cb0 _UIUCBKBSelectionBackground:0x12fa4d000.width >= 34   (active)>",
    "<NSLayoutConstraint:0x170287e40 H:|-(0)-[_UIUCBKBSelectionBackground:0x12fa4d000]   (active, names: '|':_UIButtonBarButton:0x12fa4a330 )>",
    "<NSLayoutConstraint:0x170287da0 _UIUCBKBSelectionBackground:0x12fa4d000.trailing == _UIButtonBarButton:0x12fa4a330.trailing   (active)>",
    "<NSLayoutConstraint:0x1702904f0 _UIUCBKBSelectionBackground:0x12fa55b50.width >= 34   (active)>",
    "<NSLayoutConstraint:0x170290360 H:|-(0)-[_UIUCBKBSelectionBackground:0x12fa55b50]   (active, names: '|':_UIButtonBarButton:0x12fa554b0 )>",
    "<NSLayoutConstraint:0x170290400 _UIUCBKBSelectionBackground:0x12fa55b50.trailing == _UIButtonBarButton:0x12fa554b0.trailing   (active)>",
    "<NSLayoutConstraint:0x1702908b0 H:|-(6)-[UIButton:0x12fa56280]   (active, names: '|':_UIButtonBarButton:0x12fa55ea0 )>",
    "<NSLayoutConstraint:0x170290900 UIButton:0x12fa56280.trailing == _UIButtonBarButton:0x12fa55ea0.trailing - 6   (active)>",
    "<NSLayoutConstraint:0x170290fe0 H:|-(6)-[UIButton:0x12fa56c70]   (active, names: '|':_UIButtonBarButton:0x12fa56a90 )>",
    "<NSLayoutConstraint:0x170291030 UIButton:0x12fa56c70.trailing == _UIButtonBarButton:0x12fa56a90.trailing - 6   (active)>",
    "<NSLayoutConstraint:0x174283250 'UISV-canvas-connection' UILayoutGuide:0x170193180'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x12fa425c0.trailing   (active)>",
    "<NSLayoutConstraint:0x170288110 'UISV-canvas-connection' UILayoutGuide:0x170193180'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x12fa554b0.leading   (active)>",
    "<NSLayoutConstraint:0x1742832a0 'UISV-spacing' H:[UIImageView:0x12fa0a250]-(0)-[UIView:0x12fa42420]   (active)>",
    "<NSLayoutConstraint:0x1742832f0 'UISV-spacing' H:[UIView:0x12fa42420]-(0)-[_UIButtonBarButton:0x12fa425c0]   (active)>",
    "<NSLayoutConstraint:0x17028e010 'UISV-spacing' H:[_UIButtonBarButton:0x12fa39790]-(0)-[UIView:0x12fa4a190]   (active)>",
    "<NSLayoutConstraint:0x170288700 'UISV-spacing' H:[UIView:0x12fa4a190]-(0)-[_UIButtonBarButton:0x12fa4a330]   (active)>",
    "<NSLayoutConstraint:0x1740912b0 'UISV-spacing' H:[_UIButtonBarButton:0x12fa554b0]-(0)-[UIView:0x12fa55d00]   (active)>",
    "<NSLayoutConstraint:0x17409c4d0 'UISV-spacing' H:[UIView:0x12fa55d00]-(0)-[_UIButtonBarButton:0x12fa55ea0]   (active)>",
    "<NSLayoutConstraint:0x174284920 'UISV-spacing' H:[_UIButtonBarButton:0x12fa55ea0]-(0)-[UIView:0x12fa568f0]   (active)>",
    "<NSLayoutConstraint:0x17409f1d0 'UISV-spacing' H:[UIView:0x12fa568f0]-(0)-[_UIButtonBarButton:0x12fa56a90]   (active)>",
    "<NSLayoutConstraint:0x174285870 'UISV-spacing' H:[_UIButtonBarButton:0x12fa56a90]-(0)-[UIView:0x12fa572e0]   (active)>",
    "<NSLayoutConstraint:0x174285640 'UISV-spacing' H:[UIView:0x12fa572e0]-(0)-[_UIButtonBarButton:0x12fa39790]   (active)>",
    "<NSLayoutConstraint:0x174283840 'UISV-spacing' H:[_UIButtonBarButton:0x12fa4a330]-(0)-[UIView:0x12fa575d0]   (active)>",
    "<NSLayoutConstraint:0x174285230 'UISV-spacing' H:[UIView:0x12fa575d0]-(0)-[UIImageView:0x12fa0a250]   (active)>",
    "<NSLayoutConstraint:0x17009c520 'UIView-leftMargin-guide-constraint' H:|-(15)-[UILayoutGuide:0x170193180'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UIButtonBarStackView:0x12fa099d0 )>",
    "<NSLayoutConstraint:0x17009c5c0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x170193180'UIViewLayoutMarginsGuide']-(15)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x12fa099d0 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x1702904f0 _UIUCBKBSelectionBackground:0x12fa55b50.width >= 34   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
Sep 12 12:10:00 iPad rhorunner[1108] <Notice>: I 09/12/2017 12:10:00:161 6e89f000            EVE DEBUG| Ruby Stats - travel duration = 14ms, processing = 0ms
Sep 12 12:10:00 iPad rhorunner[1108] <Notice>: I 09/12/2017 12:10:00:163 6e89f000            EVE DEBUG| Wait for messages
Sep 12 12:10:00 iPad rhorunner(UIKit)[1108] <Error>: 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. 
(
    "<NSLayoutConstraint:0x17009cbb0 _UIButtonBarStackView:0x12ddf1c60.width <= 0   (active)>",
    "<NSLayoutConstraint:0x17009bee0 'UIView-leftMargin-guide-constraint' H:|-(15)-[UILayoutGuide:0x170192b00'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UIButtonBarStackView:0x12ddf1c60 )>",
    "<NSLayoutConstraint:0x17009bf80 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x170192b00'UIViewLayoutMarginsGuide']-(15)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x12ddf1c60 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x17009bf80 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x170192b00'UIViewLayoutMarginsGuide']-(15)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x12ddf1c60 )>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
Sep 12 12:10:00 iPad rhorunner[1108] <Notice>: I 09/12/2017 12:10:00:167 6e28b000            EVE DEBUG| Compute state duration for 1 objects : 0ms
Sep 12 12:10:00 iPad rhorunner(UIKit)[1108] <Error>: 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. 
(
    "<NSLayoutConstraint:0x17009cc00 _UIButtonBarStackView:0x12fa099d0.width <= 0   (active)>",
    "<NSLayoutConstraint:0x17009c520 'UIView-leftMargin-guide-constraint' H:|-(15)-[UILayoutGuide:0x170193180'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UIButtonBarStackView:0x12fa099d0 )>",
    "<NSLayoutConstraint:0x17009c5c0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x170193180'UIViewLayoutMarginsGuide']-(15)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x12fa099d0 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x17009c5c0 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x170193180'UIViewLayoutMarginsGuide']-(15)-|(LTR)   (active, names: '|':_UIButtonBarStackView:0x12fa099d0 )>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants