I would like to use XcodeGen from a swift plugin. To be able to use in a swift plugin it is needed that that the published artifact is a artifact bundle. When XcodeGen is published as a artifact bundle you can reference XcodeGen the following way in your Package.swift file:
Hello! Thank you for this project.
Sort description of feature request
I would like to use
XcodeGen
from a swift plugin. To be able to use in a swift plugin it is needed that that the published artifact is a artifact bundle. When XcodeGen is published as a artifact bundle you can referenceXcodeGen
the following way in yourPackage.swift
file:From there you are able to reference it from a swift package plugin and automate generating a Xcode project.
How to implement it
You can find in the following blog post how to support implement the artifact bundle.
Other swift tools already do support this. A couple of example pr's: