When using the <drag-select-compose> library in a ...
# compose-ios
y
When using the drag-select-compose library in a my project, selecting items works properly on desktop and Android, but causes a crash on iOS with the following exception. could someone explain this exception. so I know what is going on?:
Uncaught Kotlin exception: kotlin.native.internal.IrLinkageError: Function 'toggleable' can not be called: No function found for symbol 'androidx.compose.foundation.selection/toggleable|toggleable@androidx.compose.ui.Modifier(kotlin.Boolean;androidx.compose.foundation.interaction.MutableInteractionSource;androidx.compose.foundation.Indication?;kotlin.Boolean;androidx.compose.ui.semantics.Role?;kotlin.Function1<kotlin.Boolean,kotlin.Unit>){}[0]'
p
Seems like the library was compiled with a different compose version non compatible with what your project is using. In such a case, you can try recompiling it locally with your same compose version. Or check if another version of the library support your version.
👍 1
r
Looks like a version mismatch, but why don't you ask there within an issue?
👍 1
h
as others have mentioned, it’s a version mismatch, usually it’s a better idea to maintain your fork when you’re iterating and using non stable versions of CMP
👍 1
y
thanks, guys🙏