I have a static Library X which is in C. I have another static library Y which is in objective C and its .mm files refer to function of Library X. Now in a single view application I have used Library Y. But during Compilation its giving an error saying
Undefined symbols for architecture i386:
"encode()", referenced from:
_playMediaInternal in libXMedia.a(XMediaInternal.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The above encode function is present in library X which is being used by Library Y and this is used by Single view application. Any suggestions ? I have seen other queries along the same line but had no luck with those. Another thread link
From the Apple developer site i have been trying to use static libraries link.
I have connected my phone to the Laptoop and have started compiling against it. its still giving me error. now i feel it has something to do with linking itself rather than architecture