Hi, in my project I use a package with SwiftUI views that display images loaded from an asset catalog in the main (app) bundle. Since the package doesn't know about the app it will be dependency of I would like to include some development assets in the package to be able to display the previews properly.
The project structure looks like this:
App
|
| -> Release assets
|
| -> UI package
| | -> Views
| | -> Development assets
| |
When I link the package and build the app for production I'd like to exclude the development assets since I only need them for development. Is there a way in the Swift package description to include certain assets only in debug configuration such as development assets for apps in Xcode?