> On Mar 16, 2018, at 9:03 AM, David Catmull <davidcatm...@gmail.com> wrote: > > After I set up a somewhat complex view hierarchy, I'm getting a crash with > this exception: > > 2018-03-16 08:59:21.814873-0600 App[31201:13046721] *** Assertion failure > in -[NSLayoutConstraint setPriority:], > /BuildRoot/Library/Caches/com.apple.xbs/Sources/Foundation/Foundation-1451/Foundation/Layout.subproj/NSLayoutConstraint.m:222 > > It happens on the main event loop where none of my code is involved; I > never set constraint priorities myself. What could be causing this error?
Perhaps this might help. https://books.google.com/books?id=JTxsAQAAQBAJ&pg=PP51&lpg=PP51&dq=Assertion+failure+NSLayoutConstraint+setPriority&source=bl&ots=5hS5MqkC4F&sig=RZENjGG10if2pqw9_RKTbJhTQQA&hl=en&sa=X&ved=0ahUKEwjJhrm6m_HZAhVM6WMKHU0wCogQ6AEIZjAI#v=onepage&q&f=false --Richard Charles _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com