Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
For Kotlin 2.0 and KSP 2.0 the Cannot change attributes of configuration ':composeApp:debugFrameworkIosX64' after it has been locked for mutation
really seems like a KSP issue. You should file a bug in their repository with a sample app if possible.
If you downgrade to Kotlin 1.9 then things 'should' work, there are example apps out there with such configuration, like the following one:
Description
For example:
@Query("SELECT 0 FROM book")
suspend fun getZero(param : EnumConverter.Answer)
has the following jvm signature:
getZero(Landroidx/room/integration/kotlintestapp/vo/EnumConverter/Answer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
which is different from the metadata siganture:
getZero(Landroidx/room/integration/kotlintestapp/vo/EnumConverter$Answer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
hence we fail to read kotlin metadata out of it, and more specifically we can't figure out if it has a suspend modifier or not.