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

constraint error #35

Open
zhuli8com opened this issue May 28, 2018 · 0 comments
Open

constraint error #35

zhuli8com opened this issue May 28, 2018 · 0 comments

Comments

@zhuli8com
Copy link

2018-05-28 20:04:20.696946+0800 DownloadButton_Example[22493:1707307] +[CATransaction synchronize] called within transaction
2018-05-28 20:04:21.066380+0800 DownloadButton_Example[22493:1707307] [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.
(
"<NSLayoutConstraint:0x60400028d4d0 PKCircleView:0x7fe842d1c7a0.width == 0 (active)>",
"<NSLayoutConstraint:0x60400028d750 H:|-(0)-[PKCircleView:0x7fe842d1c7a0] (active, names: '|':PKStopDownloadButton:0x7fe842d1b980 )>",
"<NSLayoutConstraint:0x60400028d7a0 H:[PKCircleView:0x7fe842d1c7a0]-(0)-| (active, names: '|':PKStopDownloadButton:0x7fe842d1b980 )>",
"<NSLayoutConstraint:0x60000028a5f0 PKDownloadButton:0x7fe842c0d800.width == 93 (active)>",
"<NSLayoutConstraint:0x60000028a730 H:|-(0)-[PKStopDownloadButton:0x7fe842d1b980] (active, names: '|':PKDownloadButton:0x7fe842c0d800 )>",
"<NSLayoutConstraint:0x60000028a780 H:[PKStopDownloadButton:0x7fe842d1b980]-(0)-| (active, names: '|':PKDownloadButton:0x7fe842c0d800 )>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60400028d4d0 PKCircleView:0x7fe842d1c7a0.width == 0 (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.
2018-05-28 20:04:21.070967+0800 DownloadButton_Example[22493:1707307] [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.
(
"<NSLayoutConstraint:0x60400028d520 PKCircleView:0x7fe842d1c7a0.height == 0 (active)>",
"<NSLayoutConstraint:0x60400028d7f0 V:|-(0)-[PKCircleView:0x7fe842d1c7a0] (active, names: '|':PKStopDownloadButton:0x7fe842d1b980 )>",
"<NSLayoutConstraint:0x60400028d840 V:[PKCircleView:0x7fe842d1c7a0]-(0)-| (active, names: '|':PKStopDownloadButton:0x7fe842d1b980 )>",
"<NSLayoutConstraint:0x60000028a460 PKDownloadButton:0x7fe842c0d800.height == 30 (active)>",
"<NSLayoutConstraint:0x60000028a7d0 V:|-(0)-[PKStopDownloadButton:0x7fe842d1b980] (active, names: '|':PKDownloadButton:0x7fe842c0d800 )>",
"<NSLayoutConstraint:0x60000028a820 V:[PKStopDownloadButton:0x7fe842d1b980]-(0)-| (active, names: '|':PKDownloadButton:0x7fe842c0d800 )>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60400028d520 PKCircleView:0x7fe842d1c7a0.height == 0 (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.
2018-05-28 20:04:21.072207+0800 DownloadButton_Example[22493:1707307] [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.
(
"<NSLayoutConstraint:0x60400028de30 PKCircleView:0x7fe842d20e40.width == 26 (active)>",
"<NSLayoutConstraint:0x60400028de80 H:|-(0)-[PKCircleView:0x7fe842d20e40] (active, names: '|':PKPendingView:0x7fe842d202e0 )>",
"<NSLayoutConstraint:0x600000289f60 H:[PKCircleView:0x7fe842d20e40]-(0)-| (active, names: '|':PKPendingView:0x7fe842d202e0 )>",
"<NSLayoutConstraint:0x60000028a5f0 PKDownloadButton:0x7fe842c0d800.width == 93 (active)>",
"<NSLayoutConstraint:0x60000028a9b0 H:|-(0)-[PKPendingView:0x7fe842d202e0] (active, names: '|':PKDownloadButton:0x7fe842c0d800 )>",
"<NSLayoutConstraint:0x60000028aa00 H:[PKPendingView:0x7fe842d202e0]-(0)-| (active, names: '|':PKDownloadButton:0x7fe842c0d800 )>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60400028de30 PKCircleView:0x7fe842d20e40.width == 26 (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.
2018-05-28 20:04:21.073154+0800 DownloadButton_Example[22493:1707307] [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.
(
"<NSLayoutConstraint:0x60400028dde0 PKCircleView:0x7fe842d20e40.height == 26 (active)>",
"<NSLayoutConstraint:0x600000283a70 V:|-(0)-[PKCircleView:0x7fe842d20e40] (active, names: '|':PKPendingView:0x7fe842d202e0 )>",
"<NSLayoutConstraint:0x600000289a10 V:[PKCircleView:0x7fe842d20e40]-(0)-| (active, names: '|':PKPendingView:0x7fe842d202e0 )>",
"<NSLayoutConstraint:0x60000028a460 PKDownloadButton:0x7fe842c0d800.height == 30 (active)>",
"<NSLayoutConstraint:0x60000028aa50 V:|-(0)-[PKPendingView:0x7fe842d202e0] (active, names: '|':PKDownloadButton:0x7fe842c0d800 )>",
"<NSLayoutConstraint:0x60000028aaa0 V:[PKPendingView:0x7fe842d202e0]-(0)-| (active, names: '|':PKDownloadButton:0x7fe842c0d800 )>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60400028dde0 PKCircleView:0x7fe842d20e40.height == 26 (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.

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