How to access with Swiftgen to resources within Swift Package? #976
KurroCantos
started this conversation in
General
Replies: 3 comments 5 replies
-
Could you please post your configuration, and share how your project is structured? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Besides my questions about your setup:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @djbe, answer your questions:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to store all the icon and color catalogs of my app in a local package. In the future I will store all the visual components. I use swiftgen in my app and when I compile it recognizes and generates the catalogs inside the package but then it fails to access the resource.
Thread 1: Fatal error: Unable to load image named ic_single_pic.
I think it may be because of Bundle. Can anyone help me?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions