Update iOS wrapper header structure to compile Swift framework #415
Compiling Swift framework (f.e. adding Themis as dependency into some Swift framework) requires using modular framework.
This change aims to solve #411, there you can find more details about modular frameworks.
Modular frameworks don't expose non-modular headers as public. It's quite a tricky issue, because of non-trivial themis-soter source code structure and how it's exposed to the objc wrapper files. Previously we lived happily, because most users linked Themis from Bridging Header :)
What was changed:
How to test:
Example project linked Themis as
Upon testing and merging, podspec will be updated to link to the master branch (next PR), all example projects will be updated, podspec will be pushed.
P.S. I have tested on real device. Works fine