title: Must translate autoresizing mask into constraints to have _setHostsLayoutEngine:YES Xcode 13
body: <p>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 <a href="https://developer.apple.com/forums/thread/689312" rel="noreferrer">this post</a>, but none of them are working.</p>
  <p>Have you encountered this problem. How it could be fixed?</p>
  <p>Here is some information about the error:</p>
  <p><a href="https://i.stack.imgur.com/W3YKD.png" rel="noreferrer"><img src="https://i.stack.imgur.com/W3YKD.png" alt="Error Image" /></a></p>
  <p><a href="https://i.stack.imgur.com/mogqz.png" rel="noreferrer">Interface Builder Config Image</a></p>
  <pre><code>override func awakeFromNib() {
      super.awakeFromNib()
      selectionStyle = .none
      setupEventAction()
      configureAccessibilityForCellItem()
  }
  
  override func prepareForReuse() {
      super.prepareForReuse()
      eventView.eventImageView.image = nil
  }
  
  func configureAnnouncement(announcement: AnnouncementsRowItem, isWhiteCell: Bool = false) {
      eventView.isHidden = announcement.event == nil
      eventView.backgroundView.backgroundColor = isWhiteCell ? R.color.basic1_bg() : R.color.basic2_bg()
      if announcement.event?.eventID.isEmpty ?? false || !isWhiteCell {
          self.backgroundColor = R.color.basic2_bg()
      }
      bubbleView.configureAnnouncementsBubbleView(announcement: announcement)
      eventView.configureAnnouncementsEventView(announcement: announcement)
      layoutIfNeeded()
  }
  
  private func setupEventAction() {
      eventView.isUserInteractionEnabled = true
      let gesture = UITapGestureRecognizer(target: self, action: #selector(showEvent))
      gesture.numberOfTapsRequired = 1
      eventView.addGestureRecognizer(gesture)
  }
  
  @objc
  func showEvent() {
      openEventClicked?()
  }
  </code></pre>
  <p>Thanks </p>