folks, I’m getting build error in the `compileIosM...
# ios
n
folks, I’m getting build error in the
compileIosMainKotlinMetadata
task. Basically a bunch of
unresolved reference
errors as if I were importing something that doesn’t exist (even though it’s there and
compileKotlinIos<platform>
works flawlessly). Any ideas what might be causing this?
If I run
./gradlew --info build
, I can see the failing
konanc
invocation
and it does not indeed refer the jars that are required to resolve the “unresolved references”
Turns out it was caused by using
ios()
target/source set shortcut and/or
kotlin.mpp.enableGranularSourceSetsMetadata=true