Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. 2019-04-29 20:21:40.259389+0300 SET[10419:570991] [LayoutConstraints] Unable to simultaneously satisfy constraints.
  2. Probably at least one of the constraints in the following list is one you don't want.
  3. Try this:
  4. (1) look at each constraint and try to figure out which you don't expect;
  5. (2) find the code that added the unwanted constraint or constraints and fix it.
  6. (
  7. "<NSLayoutConstraint:0x600001b97930 'fittingSizeHTarget' UIStackView:0x7fd7d2508530.width == 0 (active)>",
  8. "<NSLayoutConstraint:0x600001b97070 'UISV-canvas-connection' UIStackView:0x7fd7d2508530.leading == UIButton:0x7fd7d2502af0'Button'.leading (active)>",
  9. "<NSLayoutConstraint:0x600001b970c0 'UISV-canvas-connection' H:[UIButton:0x7fd7d251ffd0'Button']-(0)-| (active, names: '|':UIStackView:0x7fd7d2508530 )>",
  10. "<NSLayoutConstraint:0x600001b97250 'UISV-fill-equally' UIButton:0x7fd7d251f850'Button'.width == UIButton:0x7fd7d2502af0'Button'.width (active)>",
  11. "<NSLayoutConstraint:0x600001b972a0 'UISV-fill-equally' UIButton:0x7fd7d251fcb0'Button'.width == UIButton:0x7fd7d2502af0'Button'.width (active)>",
  12. "<NSLayoutConstraint:0x600001b973e0 'UISV-fill-equally' UIButton:0x7fd7d251ffd0'Button'.width == UIButton:0x7fd7d2502af0'Button'.width (active)>",
  13. "<_UISystemBaselineConstraint:0x600001cb76c0 'UISV-spacing' H:[UIButton:0x7fd7d2502af0'Button']-(NSLayoutAnchorConstraintSpace(8))-[UIButton:0x7fd7d251f850'Button'] (active)>",
  14. "<_UISystemBaselineConstraint:0x600001cb7780 'UISV-spacing' H:[UIButton:0x7fd7d251f850'Button']-(NSLayoutAnchorConstraintSpace(8))-[UIButton:0x7fd7d251fcb0'Button'] (active)>",
  15. "<_UISystemBaselineConstraint:0x600001cb78a0 'UISV-spacing' H:[UIButton:0x7fd7d251fcb0'Button']-(NSLayoutAnchorConstraintSpace(8))-[UIButton:0x7fd7d251ffd0'Button'] (active)>"
  16. )
  17.  
  18. Will attempt to recover by breaking constraint
  19. <_UISystemBaselineConstraint:0x600001cb78a0 'UISV-spacing' H:[UIButton:0x7fd7d251fcb0'Button']-(NSLayoutAnchorConstraintSpace(8))-[UIButton:0x7fd7d251ffd0'Button'] (active)>
  20.  
  21. Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
  22. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement