I have a project which contains C++ static library (mylib.a), header for it (mylib.h) and objc class which use functions of this library (.h/.m). I'm trying to copy this files to another project but every time I'm getting linking error.
Undefined symbols for architecture armv7
_ClassNameFromLibrary
referenced from:
-[LibraryUserClass init] in LibraryUserClass.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This library works correctly in another project. I tried to copy all setting from working project and it doesn't help.