Has anyone seen a warning: target indicates SWIFT_VERSION = '2.3'

I just converted one of my projects from Swift 2.3 to Swift 3 and eventhoug everything compiles fine and everything works, I keep getting the following warning ...

warning: target indicates SWIFT_VERSION = '2.3', but it is overridden by TOOLCHAINS = 'com.apple.dt.toolchain.XcodeDefault'

Has anyone seen this warning?

A warning: enter image description here

Many of the topics found / read suggest changing the Command Line Tools: parameter Command Line Tools: to use Xcode 8, but mine already uses Xcode 8.1(8B62)

Settings: enter image description here

Any suggestion?

+5
source share
1 answer

It looks like some of your dependencies might indicate swift 2.3. Therefore, you are warning that this may cause problems in the next upcoming update. You should also check the settings for your project and make sure that in the project settings Use Legacy Swift Language Version' = NO .

+6
source

Source: https://habr.com/ru/post/1259383/


All Articles