Replies: 1 comment 3 replies
-
Do you recall the command you used to initialize the Skip Fuse project? AFAIK, it should always generate a project with the Resources stanza and a sample resource, but there could be some issue with some variant of the project generation… |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Maybe something has changed and I'm doing it wrong now that I'm using Skip Fuse vs Skip Lite, and if so, please tell me.
I created a new Skip Fuse project and copied all of my files over from my previous Skip Lite project. Resources are located as indicated in the Skip docs: https://skip.tools/docs/development-topics/#resources
However the new project fails at runtime because the resource files in the main bundle can't be found.
I found that changing the targets in Package.swift from this:
to this (adding: resources: [.process("Resources")] ):
solved the problem.
Is the problem me - should I be doing something differently, or is this a bug in the creation of a Skip Fuse project? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions