Custom static library which uses a .dylib file

Discussion in 'iOS Programming' started by willemVP, Aug 4, 2011.

  1. willemVP, Aug 4, 2011
    Last edited: Aug 5, 2011

    macrumors newbie

    Joined:
    Aug 4, 2011
    #1
    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:
     

Share This Page