tags:

views:

47

answers:

1

Hi All,

I have created a sample dylib with add(int,int) method. I kept this dylib in usr/lib and tried to call this method by including this in frameworks of my iphone application. Now this works fine with Simulator but not running in my Device. Can any one give me clue Where I am going wrong.
Following are the Error/warning messages I got:
Error: ld: symbol(s) not found collect2: ld returned 1 exit status.
Warning : libAddDll.dylib, file is not of required architecture

Thanks in Advance

+3  A: 

Dylibs are not supported on the iPhone you can only use static libs.

Gary
Thanks Gary. Hope Apple should able to accept dylibs soon
Anil Kumar