Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

willemVP

macrumors newbie
Original poster
Aug 4, 2011
7
0
I'm working on a project where I need to create a static library (.a) that uses libiconv.dylib. Since iOS doesn't support dynamic libraries, I need to find a way to use the dynamic library in a static way.
How can I build the library with this dynamic library?

Edit: I also tried to add the dylib under the 'Copy Files' section as a Build Phase. When I try this I get the following warning:
warning: skipping copy phase strip, binary is code signed: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/lib/libiconv.2.dylib
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.