Developer Blog SwiftPM + CoreData: Failing SwiftUI Previews? Here Are 5 Tips to Fix Fixing Xcode bugs that make SwiftUI previews fail in apps modularized with SwiftPM and that are using CoreData.