I was trying to convert syntax of old Swift project to new one as per few suggestion on Stack Overflow I tried converting it through Edit > Convert > To latest Synta
In my case swift development snapshot was selected instead of xcode 9.2. here are the steps and image.
Note: If no toolchain found in your xcode than download from Here and install it. (after installation restart xcode). Happy Coding!!!