-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundling resources with Swift Package #122
Comments
Is this an issue just for local builds with |
I haven't tried it on binary builds but the issue was there for |
We have other priorities at the moment so probably won't get to this soon. But it should be possible to grab the |
Just to be clear here, I think all that needs to happen is that there needs to be a way to bundle some resource files into the generated package. The command that copies them over in a monorepo build is just copying the contents of a directory into the target. That consists of some .lproj directories with Strings files, an Assests.xcassets directory and a files directory |
Bubbling back up. KMMBridge is getting some refactor attention now, and this seems like something that should be included. |
Trying to publish a module with shared string resource over moko-resources. Internally moko-resources generates Resource files for iOS. However, upon running on device it throws
Uncaught Kotlin exception: kotlin.IllegalArgumentException: bundle with identifier xx.xx.MR not found
.Moko resources suggest adding a command to copy over resources in build phase.
Would be nice to add
resources
field also added in Package.swift when doingspmDevBuild
(Bundling resources with Swift Package)The text was updated successfully, but these errors were encountered: