I'm guessing you're using SwiftUI? When you do that, it bundles the entire Swift UI library, including all the parts you're not using, in your package - I think that's because they support runtime-defined UIs which means your app might use currently-unused Swift UI components in future...
That's IMO software explosion and bloat as Niklaus Wirth ranted on decades ago.