How to use c library in the iphone project?

Discussion in 'iOS Programming' started by youngplayer, Sep 19, 2009.

  1. youngplayer macrumors member

    Joined:
    May 16, 2008
    Location:
    Shanghai,China
    #1
    I want to use the c library which is made by pure C language from the third party company, which won't let me get the source code.

    And I've tried to make a demo c library by "Cocoa touch library","BSD library",etc.But I can't use it in the iphone project.

    Does anyone has such experience to use c library in the iphone project???

    Help......

    Thanks!
     
  2. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #2
    Not only will you need the library in the proper format, but you'll need libraries built for both x86 and armv6/armv7.
     
  3. youngplayer thread starter macrumors member

    Joined:
    May 16, 2008
    Location:
    Shanghai,China
    #3
    Could you explain in detail?

    I built the c library by "cocoa touch library" which I think is special for making library files for the iphone project. But it can't be imported as framework; and when I copy it to the iphone project directory and include it directly, it doesn't work...

    I haven't found the guidence to use c library in the iphone project.If you know where the document is,please tell me, thank you!
     

Share This Page