How to use a custom resource synthesizer template file

I have a custom template file that I’d like to use for generating Swift from the .strings files in my project. I see in the Tuist code here that there’s reference to an initializer that takes a templatePath argument:

It doesn’t appear that that initializer exists though. Is there another way to provide a path to a template to use for code generation?

Hey :wave:

Yeah, as it seems, the API for that is, indeed, missing. What you can do is to reference a local plugin like this fixture: tuist/fixtures/app_with_plugins/Tuist/Config.swift at 4a56368a98662814b56054da986ddb5a9d275eec · tuist/tuist · GitHub

However, I agree adding support for this would make sense. We’d need to resolve the path here and update the ProjectDescription definition if you feel like contributing to this one.