Hi all,
We are happy users of Tuist in our company, which allows us to manage a fintech white-label app with up to 17 custom-branded versions!
We use Tuist to modularise different capabilities and then assemble full apps. One of our modules contains Swift code generated from OpenAPI, which is exported by our module. For consistency with the Android codebase, we currently use OpenAPI Generator to generate the code.
However, we’re considering moving to Apple’s Swift OpenAPI Generator. Since it is provided only as a plugin, I assume it isn’t supported by Tuist yet. Is that correct?
Will this be resolved by this issue?
I’d be happy to assist if needed.
1 Like
Hi Gio!
Welcome to the community forum. I’m very happy to read that Tuist helps you with those 17 custom-branded versions.
We do support SPM plugins through Xcode’s standard integration. Here’s a bit about the process:
- Add the dependency to the
packages
attribute of your project. - From your target’s
dependencies
property, which is of type TargetDependency, use the enum case.package(product: "YourPlugin", type: .plugin)
And that should be everything that you need. We have plans to integrate them using Xcode’s standard primitives, like targets and schemes, but we haven’t done that yet.
Could you give it a try and let me know if it works?
thank you very much!
I’ll give it a try