0

I've installed the pod and updated my pods just to be safe but I sill bet the "No such module 'DisplaySwitcher'" Error. I'm new to swift so this might be me being a noob but help would be appreciated.

import UIKit
import DisplaySwitcher

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


}

Image 1 image 2

jasinth premkumar
  • 1,430
  • 1
  • 12
  • 22

2 Answers2

0

I install pod. It works fine. I also import in my Xcode 9.2 & Swift 4.Make sure that you install correct pod in your pod file. Check the GitHub link

https://github.com/khawar512/DisplaySwticher

Image of pod installation. enter image description here

Khawar Islam
  • 2,556
  • 2
  • 34
  • 56
0

Try building. Modules from CocoaPods don't get recognized by Xcode until after the first build.

Paul Beusterien
  • 27,542
  • 6
  • 83
  • 139