-1

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?

enter image description here

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Perewillz
  • 73
  • 8

1 Answers1

0

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!

mcd
  • 706
  • 4
  • 25