开发者

My sample dylib is not working in iphone Device but working fine in Simulator

开发者 https://www.devze.com 2023-01-04 12:52 出处:网络
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 Si

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:

开发者_StackOverflow中文版
Error: ld: symbol(s) not found  collect2: ld returned 1 exit status.  
Warning : libAddDll.dylib, file is not of required architecture


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

0

精彩评论

暂无评论...
验证码 换一张
取 消