My app runs fine in the simulator, but I get the
Undefined symbols for architecture armv7:
errors when I run it on my device. I have all my certificates, provisioning profiles, etc. set up properly as I am able to launch other apps from Xcode on my iPod Touch. The iPod touch is 3rd generation running iOS5.1. Here are the errors specifically:
Undefined symbols for architecture armv7:
"_inflate", referenced from:
_comp_method_zlib_decomp in NMSSH(comp.o)
"_deflate", referenced from:
_comp_method_zlib_comp in NMSSH(comp.o)
"_inflateEnd", referenced from:
_comp_method_zlib_dtor in NMSSH(comp.o)
"_deflateInit_", referenced from:
_comp_method_zlib_init in NMSSH(comp.o)
"_deflateEnd", referenced from:
_comp_method_zlib_dtor in NMSSH(comp.o)
"_inflateInit_", referenced from:
_comp_method_zlib_init in NMSSH(comp.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
As you can see, I'm using the NMSSH framework. Any help would be appreciated, thanks! ~Carpetfizz
EDIT: Just threw in libz.1.2.5.dylib
and everything works perfectly!