Created by: ghvg1313
Allow swift targets read and fallback to global Swift version setting, when the version is not specified on the target level.
Originally it will fallback to the compiler default version.
Also fix test with expired swift version