I'm getting this warning in Xcode 10.2.
Conversion to swift 5 is available
When i click this error it's opening this window
When we click NEXT what will happen...
We can resolve this by navigating to our project settings and select the tab “Build Settings”. Search for “Swift Language Version” and select Swift 5 from the dropdown menu: You can do this for every target you want to convert to Swift 5 (I recommend to update to Swift 5 for all your targets).
You need to redownload Xcode 10.1 from this page, convert your code to Swift 4, then redownload Xcode 10.2 and convert to Swift 5. The only other option I can think of is changing your Swift Version in your apps bundle and then seeing if it lets you convert but I don't think it will. Show activity on this post.
If you want to disable all warnings, you can pass the -suppress-warnings flag (or turn on "Suppress Warnings" under "Swift Compiler - Warning Policies" in Xcode build settings).
the current version of swift is swift5 which is only supported in Xcode 10.2 and you are using another version like swift4 or swift4.2 in xcode 10.2. This warning means that a new version of Swift is available if you click this warning you will receive a pop up and will ask for permission to convert your code to latest version of swift (which is now swift5). if you click yes to the pop up Xcode automatically convert your code to newest version of swift(which is swift5 in your case)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With