Must translate autoresizing mask into constraints

Hello

I've been trying to build our existing iOS 14 app using Xcode 13 beta 5, and though it was working perfectly before, when trying to display some of the views on our main page this exception is consistently raised when trying to apply a snapshot on a UITableViewDiffableDataSource: Must translate autoresizing mask into constraints.

looking online it seems that in previous Xcode betas have had this issue in relation to table view cells. Has anyone else been seeing this when trying to build with iOS 15?

Thanks

Replies

Are you setting translatesAutoresizingMaskIntoConstraints on your UITableViewCell or its contentView? If you are, you should remove that code – you are not responsible for layout of those views, so you don't own the value of that property.