objective c - NMSSH Linker errors when building for iOS Device -
i'm using nmssh in app, , having problems. i've followed installation procedure written in github page, , works fine on ios6.1 simulator. however, when build onto ipod touch device running ios5.1, following errors:
undefined symbols 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 architecture armv7 clang: error: linker command failed exit code 1 (use -v see invocation)
a suggestion thread said include libz, included libz.1.2.5.dylib , ran without errors. however, whenever tried send ssh command app running on actual device, crashes without trace. doing in ios6.1 simulator results in no problems.
any appreciated! ~carpetfizz
edit: app works fine on ios5.1 simulator!
you need rebuild framework target device , re-add .framework file xcode project.
then clean , build. add .framework file application project frameworks, first removing old .framework file. hope helps! luck!
Comments
Post a Comment