Linker errors using XMPPFramework for iOS?
Hi,
I got the dreaded Mach-O linker error when trying to use XMPPFramework.
I have followed the directions on the wiki, and everything compiles when just installing the framework itself. When I try to use the framework, i.e., #import "XMPPJID.h", and build the project, I get the following error:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_XMPPJID", referenced from:
objc-class-ref in AccountViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I gather that this is a linker error, meaning XCode can't find XMPPJID. I have added my $(SRCROOT) and $(inherited) to my header search paths, library search paths, and framework search paths.
Any ideas?
Thanks!
|