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

UnsatisfiableConstraints #7

Open
datasmithtech opened this issue Mar 4, 2018 · 0 comments
Open

UnsatisfiableConstraints #7

datasmithtech opened this issue Mar 4, 2018 · 0 comments

Comments

@datasmithtech
Copy link

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger

Mar 4 18:25:38 Lawrences-MBP SpringBoard[10567]: 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:0x7fd94cca9b10 UILabel:0x7fd94ccacfa0' '.leading == SPUISearchTableHeaderView:0x7fd94ccb3030.leadingMargin>",
"<NSLayoutConstraint:0x7fd94ccb0ff0 H:[UILabel:0x7fd94ccacfa0' ']-(NSSpace(8))-[UIButton:0x7fd94ccb1800'Show More']>",
"<NSLayoutConstraint:0x7fd94ccb1040 SPUISearchTableHeaderView:0x7fd94ccb3030.trailingMargin == UIButton:0x7fd94ccb1800'Show More'.trailing>",
"<NSLayoutConstraint:0x7fd94ccb86e0 'UIView-Encapsulated-Layout-Width' H:[SPUISearchTableHeaderView:0x7fd94ccb3030(0)]>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x7fd94ccb0ff0 H:[UILabel:0x7fd94ccacfa0' ']-(NSSpace(8))-[UIButton:0x7fd94ccb1800'Show More']>

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.

Mar 4 18:25:38 Lawrences-MBP SpringBoard[10567]: 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:0x7fd94ccac440 SPUISearchTableHeaderView:0x7fd94ccb3030.bottom == UILabel:0x7fd94ccacfa0' '.lastBaseline + 8>",
"<NSLayoutConstraint:0x7fd94ccae420 UILabel:0x7fd94ccacfa0' '.firstBaseline == SPUISearchTableHeaderView:0x7fd94ccb3030.top + 36>",
"<NSLayoutConstraint:0x7fd94ccaa0f0 'UIView-Encapsulated-Layout-Height' V:[SPUISearchTableHeaderView:0x7fd94ccb3030(0)]>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x7fd94ccae420 UILabel:0x7fd94ccacfa0' '.firstBaseline == SPUISearchTableHeaderView:0x7fd94ccb3030.top + 36>

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.

Mar 4 18:25:38 Lawrences-MBP SpringBoard[10567]: 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:0x7fd94ccac440 SPUISearchTableHeaderView:0x7fd94ccb3030.bottom == UILabel:0x7fd94ccacfa0' '.lastBaseline + 8>",
"<NSLayoutConstraint:0x7fd94cc78e60 V:|-(0)-[UIButton:0x7fd94ccb1800'Show More'] (Names: '|':SPUISearchTableHeaderView:0x7fd94ccb3030 )>",
"<NSLayoutConstraint:0x7fd94ccaed60 UIButton:0x7fd94ccb1800'Show More'.firstBaseline == UILabel:0x7fd94ccacfa0' '.firstBaseline>",
"<NSLayoutConstraint:0x7fd94cca9280 UIButton:0x7fd94ccb1800'Show More'.lastBaseline == UILabel:0x7fd94ccacfa0' '.lastBaseline>",
"<NSLayoutConstraint:0x7fd94ccb00a0 UIButtonLabel:0x7fd94cc7ab10.centerY == UIButton:0x7fd94ccb1800'Show More'.centerY>",
"<NSLayoutConstraint:0x7fd94ccaa0f0 'UIView-Encapsulated-Layout-Height' V:[SPUISearchTableHeaderView:0x7fd94ccb3030(0)]>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x7fd94ccb00a0 UIButtonLabel:0x7fd94cc7ab10.centerY == UIButton:0x7fd94ccb1800'Show More'.centerY>

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.

Mar 4 18:25:38 Lawrences-MBP SpringBoard[10567]: ADDING REMOTE com.apple.passbook.general, <BBRemoteDataProvider 0x7fd94cff46b0; com.apple.passbook.general>
Mar 4 18:25:38 Lawrences-MBP SpringBoard[10567]: Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.

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

1 participant