Skip to content
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

Cannot find offset for address 0x5000000001004dca in stringAtAddress: #42

Open
Wolf4 opened this issue Sep 18, 2015 · 3 comments
Open

Comments

@Wolf4
Copy link

Wolf4 commented Sep 18, 2015

Following the manual, I have tried to use obfuscate_project script. All I changed is "General build options". Script passes clean and build stage with success, but fails on obfuscation itself.

So ios-class-guard fails with following output:

2015-09-18 17:02:00.614 ios-class-guard[68503:1570876] Error: Cannot find offset for address 0x5000000001004dca in stringAtAddress:

Can someone tell why this error may occur and how I can fix it? Thanks in advance.

UPDATE: By exclusion I determined that problem lays in some swift classes, i.e. when I exclude them from project obfuscation works like a charm. Looks like ios-class-guard cannot simply process it. Maybe I can somehow "tell" ios-class-guard to pass swift code and work only with objC? Or any way to avoid this behaviour. It is not a big deal if I cannot obfuscate swift code.
I appreciate any advice.

@Vincentit
Copy link

How did you manage to exclude the swift files in using ios-class-guard?
By -F class filter in ios-class-guard command?

@MiguelChiang
Copy link

I meant the same, looks like swift class got pass through iOS Class Guard. Anyone tried before?

@xeieshan
Copy link

How can one skip swift files. Can someone help here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants