Hey... looking for some support. I have two iOS pr...
# compose-ios
s
Hey... looking for some support. I have two iOS projects that were recently converted to use Cocoapods for the KMP framework vs directly using the Framework. One of them that is fully built on Compose MP is working well and as expected. However, the other one is running into an issue with the multi-module resources (which both use btw)
Copy code
* What went wrong:
Execution failed for task ':app:first:syncPodComposeResourcesForIos'.
> Cannot query the value of this provider because it has no value available.
Google search just ends up in old threads that tells you to disable that task, but then of course the resources are not compiled in. Some think about the set up: • Kotlin 2.0.21 • Compose MP: 1.7.3 • multi-module with resources in different modules • modules are shared between app "first" and "second" • app "second" is larger with more modules and most modules have resources and working well • app "first" has mainly 4 modules with resources and is set up almost identically otherwise • both app modules have resources in
commonMain/composeResources
also Any one have any suggestions on what I should try?
d
I combine my submodules in the big one for iOS Do you add your modules separately by cocoapods?
s
Nope. They are included into the big framework which is included by Cocoapods
v
Any luck resolving that? After I moved my resources from the root module exported as cocoapod into ios - the resources are not copied
s
Sadly I no longer have access to that project, and couldn't resolve it while I was working on it.
I have the same issue that you saw, with the resources not being copied.