conference-app-2024 icon indicating copy to clipboard operation
conference-app-2024 copied to clipboard

:wrench: Modifier issues on the iosMain side of the code have been addressed.

Open Corvus400 opened this issue 6 months ago • 0 comments

Issue

  • close #738
  • This PR will be opened after the following PRs are merged.
    • #742

Overview (Required)

  • The :core:ui module has been renamed to :core:droidkaigiui.
  • This change resolves issues where iosMain could not correctly reference Modifier and other components due to naming conflicts.

Issue Details

  • The original :core:ui module name was too generic, leading to naming conflicts within the Kotlin Multiplatform project.

  • These conflicts occurred because the KLIB resolver detected multiple libraries with the same name, making it difficult to determine which library to use, resulting in build or runtime errors.

  • This issue is related to KT-66568, where the KLIB resolver fails to function correctly due to such naming conflicts.

Solution

  • By renaming the module from :core:ui to :core:droidkaigiui, we avoided the naming conflict and allowed the KLIB resolver to correctly identify the appropriate libraries. As a result, iosMain can now successfully reference Modifier and other components, resolving the issue.

  • Thanks to @Aniokrait for providing specific ways to respond! 👏

Links

  • https://github.com/DroidKaigi/conference-app-2024/issues/485#issuecomment-2304251937

Corvus400 avatar Aug 22 '24 19:08 Corvus400