Can I use .a file in a project that needs to be compiled both to .a and .so?
I need to write a C++ lib, and compile it such that it could be used in another project which is compiled both to .a file (for iOS) and .so file (for Android). I wonder if I compile my C++ lib to an .a lib it could be used later for both Android and iOS.
Further clarification: I am not searching for how to convert static libraries to shared libraries. I am looking for one compiled library that rules them all, hence could be used as is both for iOS and Android projects, for all relevant Architectures.