-
Notifications
You must be signed in to change notification settings - Fork 123
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
Cannot find 'MainViewControllerKt' in scope #639
Comments
I am getting the same error:
(I have added those to solve another issue related to building for JVM.) I tried to use only the When not using any Now, @piet90, do you have the dependsOn set up too? If not, there may be some deeper issue. |
Thank you @FrancescoBottino for your reply. Indeed, I have the Is there a workaround here? |
should be fixed in 0.24.0-beta-1 |
Hello,
I have implemented Moko Resources in my Jetpack Compose Multiplatform module, following the guide in the readme.
Everything is working smoothly on Android, but somehow I get an error when building the iOS app.
I have set up these scripts (I am using the regular framework):
The error I get is:
Cannot find 'MainViewControllerKt' in scope
My
ContentView.swift
file looks like this, that's where the error comes from:Needless to say that the
MainViewController.kt
file is set up correctly, otherwise it wouldn't work without Moko.When I roll back to a state where MokoResources was not included in the project, everything works fine.
I am pretty sure that there's an oversight somewhere on my side, but I've been through many tries and still can't get it right.
Could you please help me?
The text was updated successfully, but these errors were encountered: