https://kotlinlang.org logo
#moko
Title
# moko
k

kevin.cianfarini

02/22/2024, 7:05 PM
Hi. I’m working on upgrading our non-trivial app from moko-resources 0.23.0 > 0.24.0-alpha-4. I’ve nearly worked through all of the breaking changes, but I’m seeing the following error when trying to link our iOS framework.
Copy code
Showing Recent Messages
Cannot locate tasks that match ':shared:octopus:copyFrameworkResourcesToApp' as task 'copyFrameworkResourcesToApp' not found in project ':shared:octopus'.
I noticed in the multiple alpha releases this has come up as a bug that’s needed resolution. When I check what tasks are available on our umbrella shared framework, I see the following:
Copy code
Moko-resources tasks
--------------------
copyResourcesDebugFrameworkIosSimulatorArm64
copyResourcesDebugTestIosSimulatorArm64
copyResourcesReleaseFrameworkIosSimulatorArm64
We are setting the base name of our prefix in our framework.
Copy code
binaries {
            framework {
                baseName = "shared"
                isStatic = true
Does this sound like a bug with moko-resources, or is there something obvious that we’re doing wrong?
a

alex009

02/25/2024, 4:09 PM
it's bug with task registration decision logic. in 0.24.0-alpha-5 it will be fixed (invalid property name now readed)
👍 1
4 Views