Cocopad support

This is a fix for the [cocoapods issue](https://github.com/fiksu/DFID/issues/2).