xcode 8 swift update with error "Use Legacy Swift Language Version"
<p>When i opened my project into Xcode 8 then I got the following error</p>

<pre><code>Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit &gt; Convert &gt; To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly
</code></pre>

<p>referring to a similar <a href="https://stackoverflow.com/questions/37835397/use-swift-2-2-in-xcode-8">post</a> on StackOverflow  ,  Use Legacy Swift Language Version YES/NO . But it's not working for me either by doing YES or No value ?</p>

<p>Please help.</p>

<p>I have checked Use Legacy Swift Language Version to options YES/NO please check attached screenshot 
<a href="https://i.stack.imgur.com/k9VJX.png" rel="noreferrer"><img src="https://i.stack.imgur.com/k9VJX.png" alt="Use Legacy Swift Language Version-YES"></a></p>

<p><a href="https://i.stack.imgur.com/3JO7W.png" rel="noreferrer"><img src="https://i.stack.imgur.com/3JO7W.png" alt="Use Legacy Swift Language Version-NO"></a></p>