Strip symbols for iPhone application

user88645 picture user88645 · Apr 8, 2009 · Viewed 11.9k times · Source

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.

Deployment:

1) Deployment Post processing(checked)

2) Strip Debug Symbols During Copy(checked)

3) Strip Linked Product(checked)

4) Use Separate Strip(checked)

Linking:

5) Dead Code Stripping(checked)

GCC 4.0 - Code Generation

6) Generate Debug Symbols(NOT checked)

Answer

Nicholas Riley picture Nicholas Riley · Apr 8, 2009

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.