livechat / chat-window-ios

Embeding LiveChat mobile chat window in iOS application
MIT License
24 stars 31 forks source link

Correct way to specify pod Swift version #24

Closed xmdev closed 5 years ago

xmdev commented 5 years ago

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