IQKeyboardManager: Swift Compiler Error - Swift 4 and Xcode 9

I am attempting to use IQKeyboardManagerSwift for the first time.

Running Xcode 9 with Swift 4

I downloaded the IQKeyboardManager-swift4 version and brought it into my app (drag and drop). There were no errors with the first build attempt, but when I add the following line of code to AppDelegate:

IQKeyboardManager.sharedManager().enable = true

I get the following error:

Use of unresolved identifier ‘IQKeyboardManager’

If I attempt to import the framework as follows:

import IQKeyboardManagerSwift

I get the following error:

No such module ‘IQKeyboardManagerSwift’

I have not seen other mentions of this error

Either way, I get errors and cannot proceed. screen shot 2017-10-13 at 12 57 26 pm

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 23 (5 by maintainers)

Most upvoted comments

click on the folder and add it to target-- it’s an xcode bug, i do this manually everytime