Hide symbols when build static library

Hi guys, I'm building a static library (using ObjC, C++) for my Swift project. I want to hide symbols in my static library which written in C++ to protected it from attackers. I've followed this tutorial: https://github.com/leetal/ios-cmake by using cmake to build the static library but when I use Hopper Disassembler to check I still see all the symbols in the library. So I'm stucking on finding solution to hide the symbols.

So please help me how to hide the symbols. Thank you!

Replies

What is your goal ?


- making it impossible to track symbols in code

or

- just make them impossible (or harder) to understand ?


If the latter, you could just mangle the name to turn it meaningless.

Why? A decent hacker can ready assembly.