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

kierans777

04/20/2022, 1:06 AM
I'm trying to port a Kotlin lib (the module is called
sdk
in the project) to iOS. When I run
./gradlew build
the
compileKotlinMetadata
step fails. How can I fix this please? (I've moved the CLI output into the thread)
I suspect this is why IntelliJ still has red squiggles everywhere even though both the JVM and iOS targets have compiled successfully.
e

ephemient

04/20/2022, 2:28 AM
1. please keep long text dumps to text snippets or threads 2. there isn't enough information here to be sure 3. but check that you are using Kotlin 1.6.20 with hierarchical structure, in order to match the library you are using
k

kierans777

04/20/2022, 3:03 AM
Here's the snippet from the console output
@ephemient Thanks for your response. 1. I've moved the CLI output into a snippet in the the thread 2. I don't know what other information to provide. Happy to answer questions provide more detail if someone asks for something. 3. I'll take a look. Thanks
Upgrading to Kotlin 1.6.20 fixed everything.