Strip Binary Symbols (iOS)
Swift binaries include large amounts of symbols in a segment of the binary used by the dynamic linker. These are generally not needed, if you build your app with bitcode these symbols will automatically be stripped out. However if you aren't using bitcode you can still do this manually.
strip -rSTx AppBinary -o AppBinaryStripped
The T
flag tells strip
to remove Swift symbols, the other flags remove debugging and local symbols.
Updated about 1 month ago