On Jul 9, 2009, at 5:15 PM, justin webster wrote:

is there a way to replace all method and variable names with something meaningless at build time? obviously these things need meaningful names for my sake but I don't care what they're called in the binary.

Not really; KVO, KVC, Bindings, CoreData, delegation and many other mechanisms rely upon the selector and class names. Sometimes, even the ivar names.

I've tried setting the "strip" build settings for my target but still see method names in plain text in the executable.

You can't strip a dynamic application because there is no way for the compiler and linker to know what code paths might actually be used.

Ultimately, though, stripping and obfuscating is largely just going to frustrate your efforts to figure out why your app crashes at a customer site more than it would ever prevent someone from hacking it.

b.bum

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to