Images inaccessible from asset catalog in a SwiftUI framework
问题 I've created an iOS framework that contains a single SwiftUI View . I've then added an Asset Catalog with a single image. Trying to access that image from the SwiftUI view doesn't do anything - I see a blank image. Image("MyImage") The Xcode Preview doesn't show anything, nor does the view show anything for a test target I wrote that uses the framework. So the question is - how do I bundle images with a framework that uses SwiftUI? Is this not supported? The only way I could get this to work