Start by giving all your views identifiers, that'll make them easier to track down; the error message will use the name and you can search for it in IB. ________________________________________ From: [email protected] [[email protected]] on behalf of Bill Cheeseman [[email protected]] Sent: Tuesday, March 15, 2016 12:06 PM To: xcode-users Subject: Question about debugging OS X Auto Layout
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 - [email protected]<mailto:[email protected]> _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
