Conversation
This does not work with the protoc built locally because the WKTs aren't found. If you try building using the env variable to provide a full `protoc` install, then it works since that bundles all the WKTs and the proto compiler auto finds the bundled files. See apple#1943 for some of the research into options in this space.
Would be great if we can fix that as well. Is it just about building them and adding a |
Either we provide a |
I don't think we can move the files next to the binary since when |
The resources support seems like it should do this (not the exact structure we need), but I couldn't figure out how to make SwiftPM resources work at all for the plugin binary. And I didn't see any way to get a path back to where the sources for the plugin exist on disk. |
This does not work with the protoc built locally because the WKTs aren't found. If you try building using the env variable to provide a full
protocinstall, then it works since that bundles all the WKTs and the proto compiler auto finds the bundled files.See #1943 for some of the research into options in this space.