Updated to be a static lib ready for cocoapods