I compiling Swift 2.3 project and have this issue

2019-01-29 13:54发布

问题:

I compiling Swift 2.3 project and have this issue on Xcode 8.1:

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.

After conversion still have issue

回答1:

I have faced same issue with some of my pods, You can resolve issue by setting Use Legacy Swift Language Version to true in your project setting.

repeat this step for every pod which throws this error.