Xcode keeps showing:-1: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2.Any solution?
I am currently using Xcode 10.1. The "Targets" section is in another place of the interface.
Beyond that, the Ravi Ojha solution works fine as well.