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

iOS build failed #2

Open
Verona1024 opened this issue Apr 9, 2022 · 2 comments
Open

iOS build failed #2

Verona1024 opened this issue Apr 9, 2022 · 2 comments

Comments

@Verona1024
Copy link

Hello, thanks for sharing your project!

I just did a try to build it ad see some issues with that. For Android everything works perfectly. But for iOS I have some issues with that. Actually I am an Android developer so maybe I am missing something. This is what I have:

image

Seems like in my iOS project it does not see the shared module. Maybe I miss some command for linking the module to the iOS?

Thanks in advanced.

@daniaviladomingo
Copy link
Owner

Hi Vladislav,

Try execute "./gradlew :shared:podInstall" before build & run iOS project.

Regards

@Verona1024
Copy link
Author

Unfortunatelly did not help:

./gradlew :shared:podInstall

> Configure project :androidApp
ComposeOptions.kotlinCompilerVersion is deprecated. Compose now uses the kotlin compiler defined in your buildscript.

> Configure project :shared
Kotlin Multiplatform Projects are an Alpha feature. See: https://kotlinlang.org/docs/reference/evolution/components-stability.html. To hide this message, add 'kotlin.mpp.stability.nowarn=true' to the Gradle properties.


The Kotlin source set androidAndroidTestRelease was configured but not added to any Kotlin compilation. You can add a source set to a target's compilation by connecting it with the compilation's default source set using 'dependsOn'.
See https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#connecting-source-sets

BUILD SUCCESSFUL in 859ms

In iOS I did clean and rebuild but still see the issue

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

2 participants