Comment on Xcode Previews doesn't work when used in a package that imports other packages. Currently, the only way around this is to create a dummy project that integrates the package. Instantiate the views in the dummy project and Xcode Previews will work. UI Frameworks SwiftUI Mar ’23