Hi friend, I managed to fix the problem for my self. Have you tried to change the preview device? If that doesn't work try restarting xcode and then changing the preview device.
It worked for me.
Hope it worked for you too.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: