In the NSLayoutConstraint implementation, something seems to be wrong. Creating a category in NSLayoutConstraint and rewriting some methods for debugging purposes revealed the following:
Runtime attributes must be removed by Xcode at compile time for the following reasons:
The rewritten KVC methods are inside NSLayoutCategory setValue:forKey:, setValue:forKeyPath:and are setValue:undefinedKey:never called.
The rewritten method setIdentifier:is called but never gets the passed value from the runtime attribute section
Providing invalid keys does not create errors, as on any other object, such as NSView:
2014-03-19 08: 25: 52.806 LayoutTestApp [13733: 303] [setValue: forUndefinedKey:]: testKey.
, NSLayoutConstraint Xcode ( init ). , Apple NSLayoutConstraints . : , , atm.