Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't resume preview canvas #1

Closed
JiangYiWork opened this issue Jun 7, 2019 · 2 comments
Closed

I can't resume preview canvas #1

JiangYiWork opened this issue Jun 7, 2019 · 2 comments

Comments

@JiangYiWork
Copy link

JiangYiWork commented Jun 7, 2019

My environment is ok, as my new initial project with SwiftUI can resume preview canvas. But, in this project, I can't see preview canvas.

When I add below section:

#if DEBUG  
struct ContentView_Previews : PreviewProvider {  
    static var previews: some View {  
        SearchUserView()  
    }  
}  
#endif  

I got:

SwiftUI-Combine-Example.app: Error Domain=render service Code=12 "Rendering service was interrupted" UserInfo={NSLocalizedDescription=Rendering service was interrupted}

@bfernandesbfs
Copy link

Are you using MacOS Catalina?

@Ryann786
Copy link

How did you resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants