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.
Note: When I open Xcode in default mode (Rosetta options unchecked), everything works fine.