@twannl We had this issue in a large cocoa pods project. Any targets with statically linked dependencies had issues with previews. Original solution was to separate SwiftUI stuff to a separate framework and have a target in the app with just that dependency.
@twannl Later took out all static dependencies and liked them directly to the main target and injected them to the frameworks. Now previews work on main target too..
Amazing news, everyone! The new Swift concurrency system is now backward compatible all the way back to iOS 13, macOS Catalina, watchOS 6, and tvOS 13! 🎉😀🚀
Huge thanks to everyone at Apple and in the Swift open source community who made this happen! 🙌