Home > Software engineering >  No such module 'IQKeyboardManagerSwift'
No such module 'IQKeyboardManagerSwift'

Time:02-10

New to Xcode (dabble a little). I paid a developer to build an iOS app for me. He sent me the source code and I have opened it in Xcode 13.2.1. I needed to edit the info.plist to include a description why location was required (got this done). When I try to run the build, I get the error 'no such module 'IQKeyboardManagerSwift'. In AppDelegate, I see 'import IQKeyboardManagerSwift --- No such module 'IQKeyboardManagerSwift'. I went to the Podfile directory and ran 'pod install'. Output says:

  • Analyzing dependencies
  • Downloading dependencies
  • Generating Pods project
  • Integrating client project
  • Pod installation complete! There are 7 dependencies from the Podfile and 8 total pods installed.

I'm still getting the error when trying to run the build. I tried cleaning the build folder and running the build again but still, same error. What am I missing?

CodePudding user response:

I'm not sure why this happens, but one way to solve your issue is to go into your build settings and define the Framework Search Paths to a folder that contains the frameworks in question. If the frameworks are placed in your project directory, simply set the framework search path to $(SRCROOT) and set it to recursive.

CodePudding user response:

Is the codebase completely in Swift?, else you will have to include import in the Bridging header file If in swift you can try: Select project name -> Select Build Settings(tab) and search Framework Search Paths double click and set the desired path($(SRCROOT)) to recursive

  • Related