I have a workspace containing both Swift Packages and a SwiftUI iOS client project, and while having the Swift package code open in a tab, I was unable to run previews for the client app. Closing the tab as you suggested fixed the issue for me. Thanks!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: