I am supposed to use Podofo library in my iPhone project, in order to deal with PDF. Podofo is a library written in 'C', which allows you to play with PDF's. Now this Podofo does already have some other dependencies on other libraries or frameworks, like ..
freetype2, fontconfig, etc. which can all be satisfied just by installing Macports on your Mac OSX.
Intially I tried to create a static library from Podofo source files using commands given on the Podofo website. It did create a library, but it was not build for arm architecture. So when I tried to include that library in my Project, it threw error. So I started searching for the steps for cross compilation for iOS. The posts that I read says, that the process is quite painful.
I see one around, in which I can directly add the C-Source files to my project and use it. But still I have some question regarding cross-compilation+static library.
Is it really a very complex process? I know what is cross compilation. But I don't know the exact steps to do it using XCode or any other tool, so that the compiled build can be used in iPhone project. Can anyone put some time and effort, to list down all the possible steps and pointers, so that guys like me can have it as a reference in future.