Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using XcodeGen with build tool plug-ins

I built a Swift Package that contains a plugin defined as a .buildTool(). I would like to use it in a project where we create the project via XcodeGen. I couldn't find a way to configure the YAML so that the named Swift Package is set under Run Build Tool Plug-ins in the Build Phases.

Has anyone had any experience with this, any help is highly appreciated?

like image 224
nico_dkd Avatar asked May 05 '26 16:05

nico_dkd


1 Answers

Now it is possible in 2.37.0. Very similar to declaring regular dependencies:

buildToolPlugins:
  - plugin: Plugin_name
    package: Package_name
like image 135
Stanislav M. Avatar answered May 08 '26 06:05

Stanislav M.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!