Question about debugging OS X Auto Layout
Question about debugging OS X Auto Layout
- Subject: Question about debugging OS X Auto Layout
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 15 Mar 2016 15:06:00 -0400
I'm developing an OS X application using storyboards. I made the mistake of renaming two view controller classes to reverse their responsibilities, after my storyboard and Auto Layout constraints were pretty much complete. The application was building and running fine beforehand, but now when I build and run it I get a blank application window. This runtime error appears:
"2016-03-15 14:28:14.801 UI Browser[93092:22589120] Failed to set (contentViewController) user defined inspected property on (NSWindow): Unable to install constraint on view. Does the constraint reference something from outside the subtree of the view? That's illegal. constraint:<NSLayoutConstraint:0x608000085910 'NSTabViewController-TabViewLeading' NSTabView:0x100d18d50.leading == NSView:0x600000120c80.leading priority:749> view:<NSView: 0x600000120c80>"
How can I use this information to find the offending constraint? I can't figure it out by trying to think through the consequences of interchanging the two classes, and I really don't want to have to replace every constraint in the storyboard.
I did try removing and replacing the segues involving the two view controllers, but it made no difference.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden