K2 support in Compose will be improved by Kotlin 1.9.20 and corresponding Compose compiler version.
You may give a try to compose compiler plugin 0.0.0-1.9.20-Beta-35 and kotlin 1.9.20-Beta-35, but there is still a known issue to be fixed for ios apps.
compose compiler can be set by adding: