How to build libdsm for iOS system?

Hi, macromizer. Thanks for your good job. 
I'm trying to build libdsm library for iOS system, but no success. 
Can you share some details to us? Any help will be grateful.
I'm building on apple without this, is this some xcode stuff ?