views:

1052

answers:

2

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 Postprocessing (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)

+3  A: 

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.

Nicholas Riley