Polidea / ios-class-guard

Simple Objective-C obfuscator for Mach-O executables.
http://www.polidea.com
1.64k stars 240 forks source link

use the obfuscate_project, but outside the git. #43

Closed renlix closed 8 years ago

renlix commented 8 years ago

Hi. I want to use the obfuscate_project in my project, but outside the git.

But when I run "./obfuscate_project" at the root of my project I get the error:
        "git reset --hard
        fatal: Not a git repository (or any of the parent directories): .git "

It is possible?
Wolf4 commented 8 years ago

To skip git cleaup stage you can open obfuscate_project and comment following rows:

# Clean current workspace
echo_and_run git reset --hard
echo_and_run git clean -fdx
renlix commented 8 years ago

thank you for your help.

jiang-yi-siphty commented 8 years ago

It is better to use git to control your project version. Because every obfuscating might destroy your source code. Without git, it is really hard to recover. And, when you obfuscate an obfuscated project, it will create big trouble in storyboard or nib.