SwiftUI’s Canvas won’t appear in Objective-C project

I’m trying to use SwiftUI in my Objective-C project, so I use this following step:
this article

after that, I’m success bridging this 2 files to my Objective-C project. but in my file SwiftUIFile.swift, my canvas cannot be resume. when I try to resume, nothing happened.

enter image description here

here’s the code

import SwiftUI

@available (iOS 13.0, *)
struct DetailInterfacesUISwift: View {

    var labelName = ""

    var body: some View {

@available (iOS 13.0, *)
struct DetailInterfacesUISwift_Previews: PreviewProvider {
    static var previews: some View {

1. I already delete script in build phases, nothing happen
2. I already clean project and delete core simulator downloaded
3. And still not working.

Leave a Reply

Your email address will not be published. Required fields are marked *