Obfuscating Swift code before submission to Apple App Store

后端 未结 2 1323
灰色年华
灰色年华 2020-12-24 02:49

I\'m having a hard time finding any info on this. Android themselves mention code obfuscation as something to do before submitting to their store. But I see nothing about th

相关标签:
2条回答
  • 2020-12-24 03:03

    A bit late to the party, but plain text strings can be extracted with no need of a jailbroken device just issuing the command strings to your executable.

    So, yes, protect your sensitive strings in some way.

    You can check my command line utility for doing this:

    https://github.com/pabloroca/obfuscateapi

    0 讨论(0)
  • 2020-12-24 03:05

    Java gets converted into bytecode, which can be decompiled.

    Swift is a compiled language, and the Clang compiler is highly optimized. In release mode it strips out symbols and does a lot of optimization that does a great deal of obfuscation all by itself. There are decompilers for compiled languages, but the results are really awful and hard to read.

    0 讨论(0)
提交回复
热议问题