Failed to render and update auto layout

1k views Asked by At

I am using Xcode 13.4.1 in Rosseta mode on Macbook Pro (M1 chip) running macOS Monterey v12.0.

Basically, IBDesignable views are not getting updated in XIB and throwing weird errors.

All the details are in the screenshot attached.

enter image description here

Note: When I open Xcode in default mode (Rosetta options unchecked), everything works fine.

1

There are 1 answers

0
Srinivasan_iOS On

Please follow the below steps to solve the problem:

  1. Go to File > Xcode Workspace Settings ---> click the Locations tab
  2. Click the little right arrow beside "Derived data". This opens the Finder app at the location of the DerivedData folder. Go inside the DerivedData folder and delete the folder corresponding to your project.
  3. Quit Xcode and re-open it.
  4. Clean your project shift + command + k.
  5. Build your project.
  6. Open your storyboard. Go to Editor ---> Refresh All Views.