Generate images and colors inside a Swift package

I am interested as well. Have some one achieved it?

Another solution is SwiftGen, this at least autogenerates the boiler code.

If only xcode would show inline icons for the image in suggestions, like it does with its "native" generated accessors

I think I've got it to work with a macro to generate the code as @quentinfasquel mentioned and a plugin to read the asset catalog (as macros are sandboxed themselves and can’t access it)..

However, this feels way too fragile and complex. Please just add an option to expose symbolic assets publicly.. :folded_hands: