Skip to content

Instantly share code, notes, and snippets.

@rthor
Created December 27, 2014 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rthor/e7a336b8224ad6dc6131 to your computer and use it in GitHub Desktop.
Save rthor/e7a336b8224ad6dc6131 to your computer and use it in GitHub Desktop.
27/12/14 14:18:35,492 Chroma[44698]: Unable to simultaneously satisfy constraints:
(
"<NSLayoutConstraint:0x6080002809b0 V:[NSImageView:0x60800016e7c0]-(13)-| (Names: CRAddRowView:0x6080001ff200, '|':CRAddRowView:0x6080001ff200 )>",
"<NSLayoutConstraint:0x608000280a00 CRAddRowView.centerY == NSImageView:0x60800016e7c0.centerY (Names: CRAddRowView:0x6080001ff200 )>",
"<NSLayoutConstraint:0x608000280a50 V:|-(12)-[NSImageView:0x60800016e7c0] (Names: CRAddRowView:0x6080001ff200, '|':CRAddRowView:0x6080001ff200 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x608000280a00 CRAddRowView.centerY == NSImageView:0x60800016e7c0.centerY (Names: CRAddRowView:0x6080001ff200 )>
Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens. And/or, break on objc_exception_throw to catch this in the debugger.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment