Skip to content

Instantly share code, notes, and snippets.

@T1T4N
Created February 4, 2022 09:30
Show Gist options
  • Save T1T4N/ca9f22ebfb5b2dcfc13119a124e0a85d to your computer and use it in GitHub Desktop.
Save T1T4N/ca9f22ebfb5b2dcfc13119a124e0a85d to your computer and use it in GitHub Desktop.
SwiftPM Release Builds
SwiftPM builds don't pass -dead_strip to the linker by default,
you might want to pass -Xlinker -dead_strip for release builds
if you care about binary size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment