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

Importing Hydra in a file where there is a UIViewControllerRepresentable gives compilation errors #90

Open
fabiocody opened this issue Jan 11, 2022 · 0 comments

Comments

@fabiocody
Copy link

Hi everyone!
I'm using Hydra 2.0.6 on iOS on Xcode 13.2.1.

I would like to import Hydra on this file

import SwiftUI

struct VideocallViewControllerWrapper: UIViewControllerRepresentable {
    ...
}

but as soon as I import it, Xcode tells me that Type 'VideocallViewControllerWrapper' does not conform to protocol 'UIViewControllerRepresentable'. I have other files where I have successfully imported both SwiftUI and Hydra. I think the problem is the presence of UIViewControllerRepresentable.

Thank you

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

1 participant