My whole project has been migrated to Swift 3, but Xcode still displays the following warning and error:
Warning:
"Swift 2.3 is deprecated and will be removed in a future release of Xcode. Migrate to Swift 3 now."
When I start the migration-wizard, all targets have the yellow triangle saying my project has already been migrated.
Error:
“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."
All swift targets, including cocoapods written in swift, are using:
SWIFT_VERSION = 3.0
This same project worked flawlessly in XCode 8.1