https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
r

René

01/04/2020, 3:03 PM
Hey guys, I observed for at least 6 month a strange behavior which I cannot fix. When I compile my mpp project from the cli it works fine, as expected. When I run the same gradle task from intellij I get tons of "Actual class foo has not corespondending expected declaration". If someone has some time to check it here is my repo: https://github.com/rewe-digital-incubator/Konversation/tree/feature/provisioning (that feature branch should have also all the latest versions of the dependencies) tbh I didn't care yet for this bug since I was able to compile my project, but this breaks debugging and running tests which is very annoying
r

René

01/04/2020, 4:03 PM
Interesting, that is a differnt problem, but seems to have the same reason
@Dominaezzz I do not understand the workaround can you explain it a bit?
d

Dominaezzz

01/04/2020, 4:23 PM
The work around is to only use one native target while the IDE is open. It can't handle multiple targets using the same source set.