[tests] fix for tests
[ios] added support for weakly linked frameworks