Swift pod no module found - Nimble, Quick

1k Views Asked by At

While installing swift pod - Nimble, Quick, - I have faced weird problem. I saw success message for all the pod after pod install but all the frameworks showed me as red. And when tried to import these modules started showing me error as "No such module".

3

There are 3 best solutions below

1
On BEST ANSWER

You can build Nimble and Quick separately just go to the manage schemes and check Nimble and Quick in the show column. After that just build both Nimble and Quick.

0
On

After trying lot of options - even suggested by @Vital - I have seen this problem comes very often. I created a new project and above answered didn't worked.

If you go to the link CocoaPods TroubleShooting page and refer #4. Solution seems to work always as it builds pods before building the project target. This is very useful in case you see pod frameworks are red in color and it's not able to find in derived data. enter image description here

2
On

Open the project with the .xcworkspace file not with .xcodeproj.