Good day
I am developing XRKit
framework, which contains the pipeline logic for rendering using Metal, in manifest it has two targets - framework itself in Swift and XRKitDefenitions
in C++ and MSL (since Apple forbids us multilingualism in one package). Both targets have Resources
folders open in their manifest.
When I try to access the test files hello01.txt
(Resources
for XRKit) and hello2.txt
(Resources
for XRKitDefenitions) via Bundle.module, I only see hello01.txt and it doesn't read hello2.txt because it's in a different target.
How do I properly organize my code with SPM to access the Resources
of XRKitDefenitions
target?
PS When trying to organize XRKitDefenitions
as a remote package on GitHub and defining it as a dependency, situation does not change. I understand now that Bundle.module
only refers to its Resources
. Is there a way to refer to resources that provided other targets or dependencies in the same package?