libmagic static library framework for iOS.
A library part of file(1) for iOS. (The library also known as libmagic.)
Based file command (and magic file) was originally written by Ian Darwin (who still contributes occasionally) and is now maintained by a group of developers lead by Christos Zoulas. See http://darwinsys.com/file/ for more details about the file command.
See Github repository for more details.