No Such Module Iqkeyboardmanagerswift

No such Module IQKeyboardManagerSwift

First check the swift and Xcode version that you are using and if that version support the pod file you are using

Swift 2.2 (Xcode 7.3) Use:-

pod 'IQKeyboardManagerSwift'

Or

pod 'IQKeyboardManagerSwift', '4.0.3'

For Swift 2.1.1 (Xcode 7.2) Use :-

pod 'IQKeyboardManagerSwift', '4.0.0'

For Swift 2.0 (Xcode 7.0) Use :-

pod 'IQKeyboardManagerSwift', '3.3.3.1'

I had similar problem , turns out i had two Cocoapods instances installed, This is a Cocoapods issue not an Xcode one (in my case it was').

All i needed to do was uninstall my cocoapod and reinstall it
https://stackoverflow.com/a/27940867/6297658......
This worked for me...

Once you are done reinstalling go to your pod file add pods according to the version of swift and Xcode you are using and then run pod install

PS: Cocoapods REPO is nearly 350MB, so if your download is stuck don't just quit Terminal and start reinstalling again first uninstall Cocoapods and old master repo both completely, then start installing again ... this is probably what caused two instances of it in my case

Getting No such Module error when trying to run project

Go and check out the cocoapods documentation.

First make sure that you are opening the project.xcworkspace and not the project.xcodeproj

Then:

1) Open terminal

2) Type in sudo gem install cocoapods and click ENTER, this is to install cocoapods on your macbook.

3) Navigate to the director where the project is stored. (where you see the Podfile)

4) Type in pod install

Getting error No such module using Xcode, but the framework is there

I'm not sure why this happens, but one way to solve your issue is to go into your build settings and defining the Framework Search Paths to a folder which 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.

No such module error in Xcode 12.4 Apple M1

Adding this to podfile helps me

post_install do |installer|   
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end

Getting 'no such module' error when importing a Swift Package Manager dependency

It turned out that Swift Package Manager implicitly depends on the project's Configuration names. I had them at live/qa instead of Release/Debug, and changing them back resolved the issue. Very odd, but I hope it saves you some trouble dear reader.

Why am I getting the error 'No such module FirebaseUI' in swift?

FirebaseUI version 11 is now broken into submodules so you will need to import individual modules (e.g. import FirebaseAuthUI) rather than previously using just import FirebaseUI. Or instruct your Podfile to use an older version.

From FirebaseUI 11.0.0 release notes:

Breaking change: Broke monolithic FirebaseUI module into separate modules per feature. You'll need to update the imports in your project accordingly.

// FirebaseUI 10.x
import FirebaseUI
// FirebaseUI 11
import FirebaseAuthUI
import FirebaseDatabaseUI
// ...


Related Topics



Leave a reply



Submit