k

    kierans777

    5 months ago
    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

    5 months ago
    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

    5 months ago
    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.