I have Xcode 9.2 and I am thinking I automatically have Swift 4.1. So I tried to import some modules like:
import Hero
import EGFormValidator
but it gives me an error saying it does not recognize those modules. How can I access Swift 4.1 on my Xcode?
You are probably using CocoaPods. Try to clean and then rebuild your project.
However make sure that you use the
.xcworkspace
and not the.xcodeproj
file!