I have a problem to obfuscate the project codes to protect source.
- is this possible to Obfuscate all project source codes. if yes, please guide me.
I have a problem to obfuscate the project codes to protect source.
Objective-C code cannot be 100% obfuscated. There are some open source and some commercial tools that will obfuscate the class name, the custom methods and variables, but be aware that they can easily break and crash your app.
For example, if you use a custom view controller class in your storyboard, and your code obfuscation changes the class names in the source file but not the storyboard, instantiating that custom view controller will crash your app or at the very least makes it impossible to instantiate your custom view controller.
Similarly, Objective-C variable binding can be difficult if not impossible. Objective-C was designed from the ground up to be inspectable and modifiable. Obviously all of the UIKit delegate/protocol methods cannot be obfuscated. viewDidLoad will always be called viewDidLoad.
Good luck!
Edit:
There seems to be a LLVM replacement that handles the code obfuscation for you, check out Obfuscator-LLVM Wiki.