Skip to content

Multiple asset catalogs - no image found #207

@samritchie

Description

@samritchie

I have multiple asset catalogs in my project. If I run swiftgen images $PROJECT_DIR I get the output no image found.

If I explicitly specify an asset catalog, Swiftgen will output code, however when I run multiple swiftgen images commands, even if I use --enumName I still get build failures (Invalid redeclaration of Image).

Swiftgen happily handled multiple asset catalogs in the past (albeit flattened into a single enum), so I assume this is a bug introduced with the actool change?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions