I'm using Xcode 7.0.1
my pod contains
target :TestQuickTests do
link_with 'TestQuickTests'
pod 'Quick', '~> 0.6.0'
pod 'Nimble', '2.0.0-rc.3'
end
any ideas how to eliminate this error?
I'm seeing the same issue with Cocoapods 0.39.0 and 0.39.0-rc.1
My Podfile:
use_frameworks!
target "SegmentsTests" do
pod "Quick"
pod "Nimble"
end
Experiencing the same issue on my end. I'm using cocoapods version 0.39.0 and my Podfile looks like:
target 'ApplicationTests' do
pod 'Nimble', '~> 2.0.0'
pod 'Quick', '~> 0.6.0'
end
Hey all,
Sadly, I don't see this issue on my own machine. If you have a sample project that exhibits this issue, it would be greatly appreciated.
this is my sample project https://github.com/sger/TestQuick
@sger, the project you gave compiles just fine for me:
@jeffh correct any change to pod?
Nope, I didn't change anything I simply just cloned the repo, removed derived data, and ran tests.
—
Sent from my iPhone
On Fri, Oct 16, 2015 at 4:42 AM, Spiros Gerokostas
[email protected] wrote:
@jeffh correct any change to pod?
Reply to this email directly or view it on GitHub:
https://github.com/Quick/Quick/issues/402#issuecomment-148692439
Cloned your project, installed pods using :
cocoapods : 0.39.0
Denied upgrading of frameworks, and your project looks good.
I am able to compile and execute the tests, despite this error message, but there's no autocompletion whatsoever, which is rather painful.
My project actually started of as an objective-c project, now trying to learn swift through writing the tests using Quick.
Can I share my project privately with you somewhere? Just to take look, and hopefully spot the culprit of this error we're having.
Sure, I'll look at it when I get some free time (since I tend to look at issues via my phone), but I'll probably squeeze some free time this weekend.
Could you try this ?
Retry ?
This seems to have fixed the autocompletion on my side.
Something is wrong nonetheless, but this is a workaround for me.
Fixed by running tests
@sger So you had the error, but were able to compile as well ? Afterwards it was resolved? No other steps?
yes @daneov run the tests for the first time and everything is working including autocomplete syntax.
@sger Can you try running the latest beta of XCode ? Now my autocompletion is working, and I can run the tests, however when I start typing the error appears again, while everything works in XCode 7.0.1.
However, compiling that same project with XCode 7.1b3 fails (#406)
@daneov not working on latest Xcode 7.1
I've pushed some changes for fixing Xcode 7.1 support on to the xcode7.1
branch. Please let me know if you find any issues. I'll be cutting a new release in the next 24 hours.
I've also opened a PR for tvOS support.
I've cut v0.8.0 which should solve tvOS issues (except for tvOS + UI Testing Bundles).
Thanks for filing issues!
Im having the same problem, i can run the tests, but i have no autocompletion, with xcode 7.1 and latests of quick/nimble
Hmm, @sger's advice worked. I built the tests and the No such module
issue was gone.
However, I had to comment out my imports prior to building otherwise it would crap out.
@daneov your suggestion helped me, it is the only thing that brought me autocompletion back
the message No such module shows if target set to device with simulator everything works
@sger can you explain how did you solve it?
@ivanruizscm running tests only on simulator works fine.
Also make sure that the Target Membership of your tests file is only your test Target. If Quick does not exist in your main project, you will get this error
daneov suggestion worked for me!
You are my freaking hero. Spent all day on this. :(
Hi all,
Read all the comments and solutions up to this point. Had to say that @daneov 's solution worked for a while, but now the notorious _"No such module"_ is back and stronger then ever.
I've tried to:
$(inherited)
All the above did 2 things; in 1 test file the _"No such module"_ is just doing it's error and won't let me compile, but in another there is no code completion at all. Option-clicking the module or the QuickSpec
subclass gives me a ?
popup.
Now the weird thing is that, in the file which has no code completion and stuff, I can just manually write the tests and they run fine 😕.
I've got no clue what to do anymore and most of all it's Xcode that's driving me nuts.
EDIT:
I was out of options so I removed the test target and re-added it. Afterwards went through the same hoops as above with the new target.
Somehow code completion at least it works again, but I've still got 1 file complaining about the module.
Hi all, As of Xcode v. 8.3.3, I also experience "Quick module not found" error across multiple projects. Tried workarounds from this thread - the one with deleting derived data folder, enabling schemes and rebuilding worked for around 15 minutes, then problem came back and I was not able to get rid of it (deleting derived data each 15 mins is out of the question). Other approaches didn't work at all. Lack of code completion is effectively slowing down the process of tests development to the extent that it's impossible to use this (apart from that - truly awesome, especially in synergy with Nimble) framework. Maybe we could catch up together and try to bisect where this was introduced?
I am hitting this issue too. Is this happening for everyone on 8.3.3 or is it a configuration issue?
Same issue on xcode 9.2 any updates since last time?
pod update Nimble
and pod update Quick
resolved this issue for me.
Most helpful comment
Could you try this ?
Retry ?
This seems to have fixed the autocompletion on my side.
Something is wrong nonetheless, but this is a workaround for me.