I found a workaround that at least works for Intercom:
Create a local package and add the the intercom dependency to that package
Remove intercom from the main project
Add the local package as a dependency to the main project
Can't say if this works for other packages
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: