question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiplatform publishing not working on 3.0.0-beta02 & 3.0.0-beta03

See original GitHub issue

When I update my multiplatform dependencies to use the new versions of splitties from maven central I get the following build error:

* What went wrong:
Execution failed for task ':compileKotlinIos'.
> Could not resolve all files for configuration ':iosCompileKlibraries'.
   > Could not find com.louiscad.splitties:bitflags-iosx64:3.0.0-beta02.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/louiscad/splitties/bitflags-iosx64/3.0.0-beta02/bitflags-iosx64-3.0.0-beta02.pom
       - https://repo.maven.apache.org/maven2/com/louiscad/splitties/bitflags-iosx64/3.0.0-beta02/bitflags-iosx64-3.0.0-beta02.pom
     Required by:
         project : > com.louiscad.splitties:splitties-bitflags:3.0.0-beta02

it appears that the main module found here has the following invalid relative url defined in it:

    {
      "name": "iosX64ApiElements-published",
      "attributes": {...},
      "available-at": {
        "url": "../../bitflags-iosx64/3.0.0-beta03/bitflags-iosx64-3.0.0-beta03.module",
        "group": "com.louiscad.splitties",
        "module": "bitflags-iosx64",
        "version": "3.0.0-beta03"
      }
    },

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
LouisCADcommented, Jul 31, 2021

Fixed in 3.0.0-beta04 that I just released. Should be available on MavenCentral within half an hour.

1reaction
LouisCADcommented, Jul 29, 2021

Thanks for the report and the reproducer, and sorry for the vacations related delay.

I’m on it, with a solution that should prevent this from happening again, no matter what subtle changes take place in the Kotlin Gradle plugin.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found