Try to find the fast version using the following code. (Here I tried this code with the Xcode 9.3 - beta 4 playground ) and this gives me the correct answer.
print("Hello, Swift 5.0")
print("Hello, Swift 4.1")
print("Hello, Swift 4.0")
print("Hello, Swift 3.x")
print("Hello, Swift 2.2")

Answer your question: I'm not sure, but according to the result of the code above, I can say that the latest version of Swift supported by your Xcode tool becomes the version of Swift Language. p>
source
share