Skip to content

Instantly share code, notes, and snippets.

@pbassut
Created February 28, 2015 07:31
Show Gist options
  • Save pbassut/0efca322c336f8839720 to your computer and use it in GitHub Desktop.
Save pbassut/0efca322c336f8839720 to your computer and use it in GitHub Desktop.
2015-02-28 04:30:32.863 InRadar[8673:613] 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. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<NSLayoutConstraint:0x7fca2a51ee10 H:[UIButton:0x7fca2a51fa50(63)]>",
"<NSLayoutConstraint:0x7fca2a531550 H:[UIView:0x7fca2a531370(1)]>",
"<NSLayoutConstraint:0x7fca2a520e40 H:[UIButton:0x7fca2a520c70(140)]>",
"<NSLayoutConstraint:0x7fca2a531ab0 H:[UIView:0x7fca2a5319d0(1)]>",
"<NSLayoutConstraint:0x7fca2a5212a0 H:[UIButton:0x7fca2a521080(75)]>",
"<NSLayoutConstraint:0x7fca2a532120 H:|-(8)-[UIButton:0x7fca2a51fa50] (Names: '|':UIView:0x7fca2a5310f0 )>",
"<NSLayoutConstraint:0x7fca2a532210 H:[UIView:0x7fca2a530d00]-(236)-| (Names: '|':UIView:0x7fca2a5310f0 )>",
"<NSLayoutConstraint:0x7fca2a532260 UIView:0x7fca2a530d00.trailing == UIView:0x7fca2a531370.trailing + 2>",
"<NSLayoutConstraint:0x7fca2a532350 H:[UIButton:0x7fca2a51fa50]-(8)-[UIView:0x7fca2a5311d0]>",
"<NSLayoutConstraint:0x7fca2a5323f0 UIView:0x7fca2a5311d0.width == UIView:0x7fca2a531820.width>",
"<NSLayoutConstraint:0x7fca2a532440 UIView:0x7fca2a5311d0.width == UIView:0x7fca2a531670.width>",
"<NSLayoutConstraint:0x7fca2a532490 UIView:0x7fca2a5311d0.width == UIView:0x7fca2a531bd0.width>",
"<NSLayoutConstraint:0x7fca2a5325d0 H:[UIView:0x7fca2a5311d0]-(0)-[UIView:0x7fca2a531370]>",
"<NSLayoutConstraint:0x7fca2a532670 H:[UIView:0x7fca2a531370]-(0)-[UIView:0x7fca2a531670]>",
"<NSLayoutConstraint:0x7fca2a532760 H:[UIView:0x7fca2a531670]-(4)-[UIButton:0x7fca2a520c70]>",
"<NSLayoutConstraint:0x7fca2a5328a0 H:[UIButton:0x7fca2a520c70]-(2)-[UIView:0x7fca2a531820]>",
"<NSLayoutConstraint:0x7fca2a532940 H:[UIView:0x7fca2a531820]-(0)-[UIView:0x7fca2a5319d0]>",
"<NSLayoutConstraint:0x7fca2a532a30 H:[UIView:0x7fca2a5319d0]-(0)-[UIView:0x7fca2a531bd0]>",
"<NSLayoutConstraint:0x7fca2a532ad0 H:[UIView:0x7fca2a531bd0]-(6)-[UIButton:0x7fca2a521080]>",
"<NSLayoutConstraint:0x7fca2a532b20 H:[UIButton:0x7fca2a521080]-(4)-| (Names: '|':UIView:0x7fca2a5310f0 )>",
"<NSLayoutConstraint:0x7fca2a5341f0 H:[UIView:0x7fca2a5310f0]-(-8)-| (Names: '|':UIView:0x7fca2a531010 )>",
"<NSLayoutConstraint:0x7fca2a534240 H:|-(-8)-[UIView:0x7fca2a5310f0] (Names: '|':UIView:0x7fca2a531010 )>",
"<NSAutoresizingMaskLayoutConstraint:0x7fca2a6c4f90 h=--& v=--& H:[UIView:0x7fca2a531010(320)]>"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment