Was struggling with this issue for the past few hours and just resolved it.
The issue was that the device chosen from the list of simulators runs on iOS 15.2, and when I go to Preferences > Components I wasn't seeing 15.2 listed, only 15.0. So to resolve this:
I went to Window > Devices and Simulators
Chose Simulators
Clicked on the + at the bottom left corner
Added a name and choose iOS 15.0 (since it was the only one I had in the components)
Selected this new device in the list then tried to re-un the preview and it worked fine
Hope this helps someone.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: