I'm facing this issue today
I have 2 local packages, PackageA PackageB
PackageA contains interfaces and mocks, PackageB contains View code and has a dependency on PackageA
I added type: dynamic to both packages and previews are still broken for me in Xcode 15.4, they were working before moving the View file from the main app target to PackageB