Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
Post marked as unsolved with 7 replies, 0 views
Replied In
SwiftUI Preview Don't work iOS 15 Xcode 13.0
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.