preemptive / PPiOS-Rename

Symbol obfuscator for iOS apps
https://www.preemptive.com/products/ppios
Other
365 stars 56 forks source link

Hybrid Obj-c/ Swift app #1

Closed n8stowell82 closed 8 years ago

n8stowell82 commented 8 years ago

This isn't so much a bug but a question. How will this tool handle a hybrid Obj-c/Swift application? Can swift code be obfuscated as well? If not is it just ignored by default, or would I need to manually setup an ignore file of sorts?

Thanks in advance for your time

truist commented 8 years ago

We haven't really tested Swift apps. You might be able to compile a hybrid app by excluding all the names in the Swift code, and the Objective-C names directly referenced by the Swift code - but you'd have to try it to be sure. This approach definitely won't work for obfuscating the Swift code; Swift doesn't have the preprocessor macro support that this solution is based on.