Package Manager + Dead Strip Dependencies

Is the package manager capable of (safely) dead stripping unused dependency code?

  1. Can it do so when linking statically?
  2. Can it do so when linking dynamically? i.e. so the built dependency library is stripped of any symbols which are unreachable from all of the top‐level package’s products?

I’m curious if there is anything new on this front, especially with Xcode 11’s support for packages.

SR‐521 is marked as resolved, but without explanation. SR‐1021 is still listed as open.

1 Like
Terms of Service

Privacy Policy

Cookie Policy