I am trying to build a static library which is using a third party framework. It is built successfully.
But, the problem is, when i am including my static library into any sample application, the sample application is also asking for that third party library which is used under my static library.
Why the Sample application is asking for that framework, if it is already used inside by static library?
if you have not used the "code" of lib(third party) during compilation and have used only .h files and .a file, then your library is dependent for executable code on the other static lib and hence it will be required.
the only way to remove the dependency is to compile the source of dependent(third party) static lib with your static lib code so the lib is generated having executable code of the dependent lib.