An easy workaround is:
Editor -> Canvas -> Enable Legacy Previews Execution.
It's not a fix, but it allows you to run previews while updating your views to Swift 6.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: