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
@RawQuery
abstract protected suspend fun raw(query : SupportSQLiteQuery)
The problem is in the kotlin.Unit return type. Even worse, because it tries to construct a Unit and fail, the error is reported on Unit which makes it impossible to discover what is going on (because it does not link to the element, so it is not even clear that error happened in Unit in the error log)