Have recently switched to M1 Macbook Pro. The project I've been working on stopped previewing the WidgetKit extension file (for other swiftui files preview works as intended). Xcode on my previous machine (not M1) previews the WidgetKit file well. Here is the warning I get when trying to preview WidgetKit extension file on M1 mac:
RemoteHumanReadableError
ProcessError: Failed to launch widget extension: The operation couldn’t be completed. (CHSErrorDomain error 1050.)