refs https://github.com/CocoaPods/CocoaPods/issues/1186