today, I try to use Quick in my project, after pod install, I try to import Quick,
but get the error: no such module Quick
xCode:8.3.3
cocoapods:1.3.0
Swift: 3.1
Are you sure that you are opening an xcworkspace file geneated by cocoapods instead of an xcodeproj file?
Pretty sure
What is the Quick version?
I am facing same problem
xCode:8.3.3
cocoapods:1.3.1
Swift: 3.1
Quick 1.1.0
I am opening xcworkspace, we are using about 20 different pods and only this one throws this error.
our podfile looks like this:
platform :ios, '9.0'
use_frameworks!
target 'ourAppName' do
pod 'Alamofire', '~> 4.4'
pod 'AlamofireObjectMapper', '~> 4.1'
... snip....
pod 'Firebase/Analytics', '~> 3.2'
pod 'Firebase/Auth', '~> 3.2'
pod 'Apptimize'
pod 'OHHTTPStubs'
pod 'OHHTTPStubs/Swift'
target 'ourAppNameTests' do
inherit! :search_paths
pod 'Quick'
pod 'Nimble'
pod 'Firebase'
pod 'Apptimize'
end
target 'ourAppNameUITests' do
inherit! :search_paths
pod 'Firebase'
pod 'Apptimize'
pod 'Quick'
pod 'Nimble'
end
end
Try the following:
This is what I have to do from time to time.
Closing this due to inactivity.
I'm also having this issue. It seems that any pod I try to import now is nonexistent. I can't import FirebaseMessaging or Locksmith even though they're in the podfile that I'm importing from. I hope someone can help.
right!!! this is getting frustrating
I too have the same issue . I removed the pod to which it was giving error and then it chose the next pod as not existing . Dont know what to do with this . I have opened the this stack overflow thread . But no luck till now .
https://stackoverflow.com/questions/48306879/no-such-module-fbsdkloginkit?noredirect=1#comment83640455_48306879
Some one please help to find the root cause so that this can be resolved forever rather than providing the workarounds without knowing the root cause . its been a while and i am really fed up with this .
Hello All,
Try using pod update after pod install command which will solve problem of No such module.
I just tried and it working fine.
Thanks,
Ratneshwar
Hello everyone,
I use command + U to compile Quick and Nimble, then the error will gone.
Is it because (some of us maybe) are using them in an Objective-C project?
Try the following:
- Open xcode schemes list.
- Tick Nimble and Quick with "show" and close.
- Select Nimble as a scheme and build (cmd + b)
- Select Quick as a scheme and build (cmd + b)
- Change scheme back to your app scheme and see if the error is gone and autocompletion works.
This is what I have to do from time to time.
This worked for me, but how am I supposed to do that in a CI environment?
Because my CI is not building because of the same problem.
Clean and Build fixed me the problem. In Xcode select Product -> Clean Build Folder
Most helpful comment
Try the following:
This is what I have to do from time to time.