-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Obfuscating class base type problem (UInt32). #50
Comments
The same issue happened with me with UISS, StompKit and Lumberjack pods libraries .. Are you found any solution for this ? |
No i didn't :( |
may be UInt32 type is getting obfuscated when it should not be, being a system defined variable. I was also getting similar errors, i fixed those errors by removing these symbols from the obfuscation list using the -i option in obfuscation command to ignore those symbols. |
I need to exclude all open source libraries and pods from the obfuscation, i am trying to exclude them using -F option but it doesn't work |
@evilgreed, @Mohamed3amer, and @unicorn700: In ios-class-guard, We (PreEmptive Solutions) forked iOS Class Guard, creating a new product, called PreEmptive Protection for iOS - Rename (or PPiOS-Rename), that fixes this issue and a number of others. In PPiOS-Rename, you can exclude categories with
Note that PPiOS-Rename changes the way the obfuscation process is integrated into the build (to make it easier to use), so you'll probably need to make changes to your build, and to pay attention to the new/changed argument names. Please give it a try, and let us know how it works for you. |
Im using a cocapods library called 'UIColor-Utilities' in the obfuscation process everything goes fine without any problems. But when compiling the obfuscated project I'm getting a error in the pods library in the category class right at the property with the type UInt32:
Unknown type name 'z1sQYfL2O'
Expected a type
I've also tried to exclude the the category class from obfuscating it, but it does't seem to work:
-F '!UIColor*' -F '!UIColor+Expanded' -F '!UIColor+HSV'
Is there any solution to this issue ?
The text was updated successfully, but these errors were encountered: