Advertisement
Guest User

Untitled

a guest
Jan 20th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. 2019-01-20 19:26:59.896388+0100 Jot[5072:1339146] [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:0x2826aec10 UIButton:0x103d21b60.width == 24 (active)>",
  8. "<NSLayoutConstraint:0x2826aed50 H:|-(0)-[UILabel:0x103d21390'My first list!'] (active, names: '|':UITableViewCellContentView:0x103d10710 )>",
  9. "<NSLayoutConstraint:0x2826af660 H:[UILabel:0x103d21390'My first list!']-(0)-[UIButton:0x103d21b60] (active)>",
  10. "<NSLayoutConstraint:0x2826af570 H:[UIButton:0x103d21b60]-(311)-| (active, names: '|':UITableViewCellContentView:0x103d10710 )>",
  11. "<NSLayoutConstraint:0x2826aef30 'UIView-Encapsulated-Layout-Width' UITableViewCellContentView:0x103d10710.width == 311 (active)>"
  12. )
  13.  
  14. Will attempt to recover by breaking constraint
  15. <NSLayoutConstraint:0x2826aec10 UIButton:0x103d21b60.width == 24 (active)>
  16.  
  17. Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
  18. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
  19. 2019-01-20 19:26:59.899081+0100 Jot[5072:1339146] [LayoutConstraints] Unable to simultaneously satisfy constraints.
  20. Probably at least one of the constraints in the following list is one you don't want.
  21. Try this:
  22. (1) look at each constraint and try to figure out which you don't expect;
  23. (2) find the code that added the unwanted constraint or constraints and fix it.
  24. (
  25. "<NSLayoutConstraint:0x2826af930 H:|-(18)-[UILabel:0x103d21870'Just a list to test'] (active, names: '|':UITableViewCellContentView:0x103d10710 )>",
  26. "<NSLayoutConstraint:0x2826af5c0 H:[UILabel:0x103d21870'Just a list to test']-(0)-[UIButton:0x103d21b60] (active)>",
  27. "<NSLayoutConstraint:0x2826af570 H:[UIButton:0x103d21b60]-(311)-| (active, names: '|':UITableViewCellContentView:0x103d10710 )>",
  28. "<NSLayoutConstraint:0x2826aef30 'UIView-Encapsulated-Layout-Width' UITableViewCellContentView:0x103d10710.width == 311 (active)>"
  29. )
  30.  
  31. Will attempt to recover by breaking constraint
  32. <NSLayoutConstraint:0x2826af5c0 H:[UILabel:0x103d21870'Just a list to test']-(0)-[UIButton:0x103d21b60] (active)>
  33.  
  34. Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
  35. 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