Ran pod lib lint mypod
Dependencies with different versions of swift to compile with their respective versions and pass linting.
Per discussion here: https://github.com/CocoaPods/CocoaPods/pull/8897#issuecomment-506399057
Linting failed as it was using the swift version from the main Podspec to compile the dependencies
CocoaPods : 1.7.2
Ruby : ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
RubyGems : 2.5.2.3
Host : Mac OS X 10.14.5 (18F203)
Xcode : 10.2.1 (10E1001)
Git : git version 2.20.1 (Apple Git-117)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ a551a2a5f25a47ddf704f7937f8c617dd119f56b
Executable Path: /usr/local/bin/pod
claide-plugins : 0.9.2
cocoapods-deintegrate : 1.0.4
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-static-swift-framework : 0.4
cocoapods-stats : 1.1.0
cocoapods-trunk : 1.3.1
cocoapods-try : 1.1.0
@sprynmr that is a confirmed bug. Will ship in 1.7.3.
The PR #8897 actually regressed it. Thanks again for filing.
@sprynmr have you tried CocoaPods 1.7.1?
I haven't, but I will test it now.

Confirmed in my change.
🎉
Confirmed 1.7.1 also does not have the issue.
Cool.
Will ship with 1.7.3 which also has some improvements for CDN in CocoaPods/Core.
Shipped 1.7.3.
Most helpful comment
Shipped 1.7.3.