Maggie Maldjian
Maggie Maldjian

Reputation: 11

SwiftUI Canvas: Automatic Preview Updating Paused, Can't resume

I'm working on my app in XCode 13, with a target deployment of iOS 13. I'm trying to implement SwiftUI, but all Canvases refuse to load. If I select Resume, the preview will pause again without ever loading. There are no error messages, the preview just pauses again.

I found a similar question on here, but none of the solutions have worked for me. My account isn't at the level yet where I could leave a comment on it.

So far I have tried the following:

Other Info:

I'm kind of at a loss at this point as to what else to try.

Please let me know if you have any other questions or suggestions.

Upvotes: 1

Views: 1572

Answers (1)

Mike Post
Mike Post

Reputation: 11

Creating a new SwiftUI file was the only thing that worked for me. You can delete it again after the preview recompiles.

Take a look at the process SimRenderServer in activity monitor, I think it's this run that Xcode has to relaunch.

Upvotes: 0

Related Questions