Hi everyone! Is there any doc on how to properly c...
# multiplatform
s
Hi everyone! Is there any doc on how to properly copy composeResources into XCFramework? Should composeResources be located only in one module or it supports multimodule now too? Posting in multiplatform, since it's KMP specific issue.
i
cc @Konstantin Tskhovrebov
s
To workaround it you may: 1. build XCFramework 2. call
...AggregateResources
task 3. copy aggregated resources from
.build/kotlin-multiplatform-resources/aggregated-resources/
4. correctly configure your Xcode project to have aggregated resources in the Main.Bundle Please elaborate on Main.Bundle 🙏
k
The Main.Bundle means inside iOS app main module
s
So I just copy aggregated resources to ios assets? Or I should copy it to framework and somehow add it as target for ios assets?
k
Copy to the ios project directly
s
Hi! thank you a lot on previous question 🙂 Maybe you know how to pack resources into NPM package for JS target? or we also need to copy it manually?