-
Notifications
You must be signed in to change notification settings - Fork 56
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 objective-c project with Swift frameworks #31
Comments
Swift binaries themselves are different from those of Objective-C. The check and error message you encountered were added to help preempt issues always encountered with Swift binaries. The error message could be clearer, but "containing Swift code" was meant to include the compiled form as well. PPiOS-Rename always works by scanning the compiled binary for symbols, so unfortunately compiling the Swift pods as .frameworks won't work around the issue. Unfortunately, PPiOS-Rename will become less relevant as projects adopt Swift. |
I am getting the same error "Error: PPiOS-Rename cannot process apps containing Swift code" |
I have the same problem. I work with React-Native and there are libraries for Swift. Are there options to avoiding these libraries? |
Hi, Is it possible to obfuscate only Objective-C part of the code? I've heard that 'PPiOS-rename' supporting Swift code obfuscation would be released in 3rd or 4th quarter this year. Is this info correct? Thank you. |
I'm working on a project that has Objective-C and Swift code. You can comment out the line in 'PPiOS-rename' that is causing this error so that 'PPiOS-rename' will work. Of course, you may encounter various issues, for example, if you have a protocol in Objective-C and its implementation in Swift... |
@krystiankolodziej @neuralmer can't we exclude the Swift framework by passing -x or -F? in our obfuscation cmd? |
Hi,
I've an objective-c project that use several pods. Some of that pods are written in swift.
I've understood that swift code is not supported, so I've tried to include swift pods as compiled .frameworks (so NO swift code, but compiled binaries), but I obtain the same error "PPiOS-Rename cannot process apps containing Swift code".
As you know objective-c is dying, and any modern project use dependencies
which will increasingly be in swift.
Any idea how to bypass the restriction? Maybe an exclude feature, or a bridge header, or something?
Thanks for your precious support.
The text was updated successfully, but these errors were encountered: