uuid: Unable to run publishToMavenLocal when pulling in uuid library as a dependency

Hey Ben, hope you are doing well!

I’ve been attempting to fix our internal publishing task, which seems to be broken because uuid5Of cannot be resolved and the build fails on compileIosMainKotlinMetadata. It isn’t repo specific, and I’ve uploaded a playground project where running publishToMavenLocal fails with the same error.

ExpectActualPlayground.zip

It looks to be related to how the shared source sets are setup for the iOS target. If I remove support for everything apple but ios and simplify the source sets down to only iosMain (remove nonJvmMain and nativeMain), it seems to work just fine.

Simplified Uuid with jvm() and ios() targets

Not sure if you have any thoughts/pointers/suggestions on this. Cheers!

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22 (22 by maintainers)

Most upvoted comments

Okay, no worries. Thanks for all the suggestions, really appreciate it!

Oh wait. Maybe there’s a publish step this library is missing.