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.

-- 

Bill Cheeseman - wjcheese...@comcast.net

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to