Must translate autoresizing mask into constraints to have _setHostsLayoutEngine:YES Xcode 13

Hello!

I have updated my project to Xcode 13 and iOS 15. Now the app is crashing with an error related to autoresizing masks in UITableViewCells. I have tried to change UITableViewCells Layer property in the inspector to Inferred and followed this post, but none of them are working.

Have you encountered this problem. How it could be fixed?

Thanks 🙏

  • Please share the complete error message you are getting and ideally also the relevant layout code for your cells!

Add a Comment

Replies

Thanks for your quick reply.

Here is the error:

And here is the config of the cell:

I'm getting the same exact error under the same scenario...

Same crash after updating to iOS 15

Change Inferred to Autoresizing Mask in cell settings

this works for me

  • That is not working for me 😓

  • I have the same error, this solution avoids the crash but now the cell's layout is messed up

  • It worked in my case, thanks 😊