This is temporary solution until SwiftGen implement it on their side. SwiftGen/SwiftGen#926
dependencies: [
.package(url: "https://github.com/drspoton/swiftgen-plugin-spm.git", .branch("main")),
],
targets: [
.target(
name: "MyTarget",
plugins: [
.plugin(name: "SwiftGenPlugin", package: "SwiftGenPlugin")
]
)
]
output_dir: ${DERIVED_SOURCES_DIR}