I am in the rabbit hole of finding out how to properly strip my application to make it smaller and more secure. Previously I read that BitCode can strip applications, but that is deprecated.
Now my questions are:
- Why does Apple not strip symbols by default?
- How to do it correctly? The internet is spread over with different answers. Some of these are:
"Deployment Postprocessing" = "Yes"
"Strip Linked Product" to "Yes"
"Additional Strip Flags" to -rSTx
All other stripping settings to their defaults
I don’t want to change settings which are not needed. Is there any general solution I can use without changing settings and possibly break my app in production?