-
Notifications
You must be signed in to change notification settings - Fork 239
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
How to fix 'MTIShaderLib.h' file not found in package? #366
Comments
@GitHubyangjunyi have you found solution? |
Have you tried adding the path of MTIShaderLib.h file to the Metal Compiler - Header Search Paths (MTL_HEADER_SEARCH_PATHS) setting? CocoaPods
Swift Package Manager
https://github.com/MetalPetal/MetalPetal#build-custom-filter |
@bojanstef It’s only possible in the project. But here we are trying to use MetalPetal in SPM package as you can see on screenshot |
From searching around it seems it's not possible at all in the SPM package, a potential hacky workaround is something like this: https://developer.apple.com/forums/thread/649579?answerId=614162022#614162022 |
The text was updated successfully, but these errors were encountered: