“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build
setting directly.
我使用Xcode 8.2 Swift开发过程中,发现每次使用Pods导入新库之后都会报这个错,把箭头所指的改为NO就可以了,不使用遗留的swift 版本