I am trying to convert mupdf (latest source) to a static library. I cloned the source and am able to run it on my iPad. However I am unable to compile it into a static library. I followed the instructions in https://developer.apple.com/library/ios/technotes/iOSStaticLibraries/Articles/creating.html#//apple_ref/doc/uid/TP40012554-CH2-SW1 to create a static library but I am unable to generate the library (I am assuming there is some complex linking that needs to be done that I am unaware of). Since I am new to iOS development could someone direct me on how to go about it? My objective is to tweak the mupdf code, add the shared library to my app and call classes in the mupdf source from my app (ex: Call the View Controller MuDocumentController from my app).
Thanks