JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
16.33k stars 1.18k forks source link

[1.6.0-beta01] Icons.AutoMirrored.Filled.ArrowBack is not available on iOS #4172

Closed chrisbanes closed 9 months ago

chrisbanes commented 10 months ago

Describe the bug My projects use icons such as Icons.Default.ArrowBack in androidx.compose.material. Some of the icons have now been deprecated, containing a replaceWith to migrate to Icons.AutoMirrored.Filled.ArrowBack. Unfortunately those functions are not available in the iOS version of Material icons.

When building for iOS the build fails with:

Unresolved reference: ArrowBack

There might be other icons missing.

Affected platforms Select one of the platforms below:

If the bug is Android-only, report it in the Jetpack Compose tracker

Versions

m-sasha commented 10 months ago

Hi, can you provide a reproducer? It worked for me in a simple project. Maybe ./gradlew clean will help?

chrisbanes commented 9 months ago

Sorry, yep just a Gradle caching issue.

okushnikov commented 3 months ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.