integrating CocoaPods fix from @ccarse