Ios – Strip symbols for iPhone application


What are the settings in Xcode to strip symbols for an iphone application?

I use these settings in Xcode but still see classnames and their methods in
the executable using a binary file editor.


1) Deployment Post processing(checked)

2) Strip Debug Symbols During Copy(checked)

3) Strip Linked Product(checked)

4) Use Separate Strip(checked)


5) Dead Code Stripping(checked)

GCC 4.0 – Code Generation

6) Generate Debug Symbols(NOT checked)

Best Solution

Objective-C class and method information can't be stripped - it is necessary for execution. Best you can do is come up with some kind of obfuscation, if you want.

Related Question