I was able to install Xcode 11.7 on my Mac Mojave by using this answer. But it's still using Swift 5.2.4. I want to upgrade my Swift compiler to v5.3. I downloaded then installed Swift v5.3 toolchain for Xcode from official the Swift's repo. The installation went just fine. However, when I checked the Swift version from Terminal app using swiftc -v
command, it's still showing Swift v.5.2.4.
So, is there a way to make Xcode on Mojave using Swift v5.3 instead of the default Swift compiler (v5.2)?
Thank you.
Note: I don't want to use SwiftUI. I just want to use the new language features and compiler improvements from Swift 5.3.