Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Have anyone seen, warning: target specifies 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 seem to be working I keep getting the following warning...

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

Have anyone seen this warning?

Warning: enter image description here

Many of the threads I found/read suggest to change the Command Line Tools: option to use Xcode 8 but mine is already using Xcode 8.1(8B62)

Settings: enter image description here

Any suggestion?

like image 267
fs_tigre Avatar asked Nov 06 '16 22:11

fs_tigre


1 Answers

It looks like the some of your dependencies may be specifying swift 2.3. So it is warning you that this may cause problems in the next upcoming update. You also should check the setting for your project and make sure under project settings that the Use Legacy Swift Language Version' = NO.

like image 112
Dan Leonard Avatar answered Oct 27 '22 05:10

Dan Leonard