Re: NSLayoutConstraint crash
Re: NSLayoutConstraint crash
- Subject: Re: NSLayoutConstraint crash
- From: Richard Charles <email@hidden>
- Date: Fri, 16 Mar 2018 10:06:12 -0600
> On Mar 16, 2018, at 9:03 AM, David Catmull <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden