Using s.xcconfig = { 'SWIFT_VERSION' => '4.0' } with projects that use Swift 4.2 results in Cocoapods warnings upon pod install
_The Trader [Debug] target overrides the SWIFTVERSION build setting defined in Pods/Target Support Files/Pods-Trader/Pods-Trader.debug.xcconfig. This can lead to problems with the CocoaPods installation
Using
s.xcconfig = { 'SWIFT_VERSION' => '4.0' }
with projects that use Swift 4.2 results in Cocoapods warnings upon pod install_The Trader [Debug] target overrides the SWIFTVERSION build setting defined in Pods/Target Support Files/Pods-Trader/Pods-Trader.debug.xcconfig. This can lead to problems with the CocoaPods installation
The correct way to define the Pod Swift version is s.swift_version = '4.0' https://blog.cocoapods.org/CocoaPods-1.4.0/#swift-version-dsl