0

When ever i am running the code on the simulator it work fine but on device it give me following error.

ld: library not found for -lz clang: error: linker command failed with exit code 1 (use -v to see invocation)

i have added paypal sdk in the project , without that sdk it works on device. please suggest

  • http://stackoverflow.com/questions/6429494/undefined-symbols-for-architecture-armv7/10170293#10170293 look at – Sport Mar 07 '14 at 11:15

2 Answers2

1

try to add libz.dylib in your Target lib phase

chawki
  • 867
  • 1
  • 8
  • 13
0

It seems that you forget to select 'destination' while copying the sdk into your project, so delete sdk and add it again in your project and remember to select 'destination'

Indrajeet
  • 5,490
  • 2
  • 28
  • 43