This will need to be a co-op with Xcode probably, but we need a way of having SPM correctly handle .ci.metal (Core Image metal files). They need to be treated slightly different than normal .metal files and must be compiled with correct Metal compiler and linker flags. Happy to provide examples if necessary.
Any update on this ?
Yes, this would be a much-needed addition to be able to ship custom CI kernels with a package. Even the new
[[stitchable]] kernels (see WWDC21-10159) require a custom Metal linker flag which can't be set in a package.