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.12k stars 1.17k forks source link

Compose plugin causes crash on app startup #4644

Closed Mats-Hjalmar closed 6 months ago

Mats-Hjalmar commented 6 months ago

Describe the bug Adding jetbrains compose plugin crashes on iOS devices below iOS 17 org.jetbrains.compose:1.6.10-dev1580

Affected platforms

Versions

To Reproduce Steps and/or the code snippet to reproduce the behavior:

  1. Download a Compose Multiplatform Wizard template
  2. Add this version of the jetbrains compose plugin 1.6.10-dev1580
  3. Sync
  4. Run on affected device

Expected behavior Not crashing. Display the compose multiplatform template

Additional context This is the stacktrace in XCode

dyld[558]: Symbol not found: _OBJC_CLASS_$_UITextLoupeSession
 Referenced from: /private/var/containers/Bundle/Application/<UUID>/App.app/App
 Expected in: /System/Library/Frameworks/UIKit.framework/UIKit

It works using this version 2.6.2

terrakok commented 6 months ago

@elijah-semyonov @ellomr3 reported that it reproduces on version: "1.6.10-dev1593"

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.