Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle sync fails for Kotlin Multiplatform 1.7.0 with iOS target #363

Closed
headsvk opened this issue Jul 5, 2022 · 2 comments
Closed

Gradle sync fails for Kotlin Multiplatform 1.7.0 with iOS target #363

headsvk opened this issue Jul 5, 2022 · 2 comments
Assignees
Labels
need-info Required more details about issue

Comments

@headsvk
Copy link

headsvk commented Jul 5, 2022

When you update a library with Kotlin Multiplatform to Kotlin 1.7.0, you'll get the following error for iOS on Mac:

A problem occurred configuring project ':common'.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
> Failed to notify project evaluation listener.
   > Cannot change attributes of dependency configuration ':common:iosApiElements' after it has been resolved
See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings
   > Cannot change attributes of dependency configuration ':common:debugFrameworkIos' after it has been resolved
12 actionable tasks: 10 executed, 2 from cache
   > Cannot change attributes of dependency configuration ':common:debugFrameworkIosFat' after it has been resolved
   > Cannot change attributes of dependency configuration ':common:releaseFrameworkIos' after it has been resolved
   > Cannot change attributes of dependency configuration ':common:releaseFrameworkIosFat' after it has been resolved
@headsvk headsvk changed the title Gradle sync fails on Kotlin Multiplatform 1.7.0 with iOS target Gradle sync fails for Kotlin Multiplatform 1.7.0 with iOS target Jul 5, 2022
@Alex009
Copy link
Member

Alex009 commented Jul 8, 2022

@headsvk hi! i check library with kotlin 1.7.0 and all works fine on version 0.20.1.
you can check this sample project - https://github.com/Alex009/moko-resources-sample
if you already use moko-resources 0.20.1 and still see problem - please create sample project where i can reproduce this problem, and i will fix it

@Alex009 Alex009 added the need-info Required more details about issue label Jul 8, 2022
@Alex009 Alex009 self-assigned this Jul 8, 2022
@headsvk
Copy link
Author

headsvk commented Jul 8, 2022

Thanks for checking @Alex009!
It's probably the same issue as #355 since we also use Spotless.

@Alex009 Alex009 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-info Required more details about issue
Projects
None yet
Development

No branches or pull requests

2 participants