I already asked the question in the <#C9JM6Q2UX|io...
# gradle
s
I already asked the question in the #ios channel and saw now, that there is this one. Could anyone please help us with the following problem? https://kotlinlang.slack.com/archives/C9JM6Q2UX/p1613645954048000
t
Shouldn't
project(":dreimultiplatform")
also be declared as
"ios"
source set dependency?
s
Thanks for your answer @tapchicoma I tried to explicitly add it to the
ios
source set, but I still got the same error.
Copy code
sourceSets["iosMain"].dependencies {
        api(project(":dreimultiplatform"))
}
t
could you provide full
build.gradle
file or project to reproduce it?
t
s
Unfortunately that doesn’t work:
t
error is different though
1
you could declare only to produce release type framework or rename it: https://kotlinlang.org/docs/mpp-build-native-binaries.html#declare-binaries
s
I don’t think that is actually going to fix the problem:
t
Unfortunately I am not using any device from Apple to debug it. My wild guess - could you try to rename "ios" to something else? 🤔
s
Alright. I renamed it to
ios("whatever")
but unfortunately I still got the same error:
😞 1
So I guess I will file a bugticket then…
Thanks for your help anyway.