I've always worked with Xcode projects but now I'm starting a project that I want in the future run on other platforms, so I'm using Swift Package Manager to generate the project, but I'm facing an issue, my library need to include a metal shader file (also a openGL shader file), but I'm clueless on how to accomplish this.
My project has 2 parts, the library that holds the graphic stuff and the executable that is my actual application, so I want to import my graphic library into my application, but the issue is that the metal shader file is not included in the Xcode project also seems that isn't compiled/included in the bundled files for the library so I can load at runtime and use it when needed.
Also if you think I'm doing something completely wrong just point me.
Regards
import) that useCIKernelsthat are files of GLSL code. When it's a Framework, the app simply needs toimport. Sounds like I'm of no help to you, sorry.