I'm wondering if anyone got SwiftUI preview to work with a local image asset when using Swift Package Manager.
I'm not doing anything fancy. I have an asset catalog with a few images and my view looks like
public var body: some View {
Image("star_5")
.resizable()
.scaledToFit()
}
When I create an Xcode project that depends on this swift package, I can reference the previews defined there and SwiftUI shows them correctly.